diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/libgsm | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/libgsm')
-rw-r--r-- | recipes/libgsm/libgsm-1.0.10/libgsm_patch | 34 | ||||
-rw-r--r-- | recipes/libgsm/libgsm_1.0.10.bb | 30 |
2 files changed, 64 insertions, 0 deletions
diff --git a/recipes/libgsm/libgsm-1.0.10/libgsm_patch b/recipes/libgsm/libgsm-1.0.10/libgsm_patch new file mode 100644 index 0000000000..854f2fc8cc --- /dev/null +++ b/recipes/libgsm/libgsm-1.0.10/libgsm_patch @@ -0,0 +1,34 @@ +--- Makefile 1996-07-02 16:36:06.000000000 +0200 ++++ Makefile.new 2004-09-16 13:12:28.000000000 +0200 +@@ -80,7 +80,7 @@ + + GSM_INSTALL_ROOT = $(INSTALL_ROOT) + GSM_INSTALL_LIB = $(GSM_INSTALL_ROOT)/lib +-GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/inc ++GSM_INSTALL_INC = $(GSM_INSTALL_ROOT)/include/gsm + GSM_INSTALL_MAN = $(GSM_INSTALL_ROOT)/man/man3 + + +@@ -131,6 +131,7 @@ + + CFLAGS = $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) $(LTP_CUT) \ + $(WAV49) $(CCINC) -I$(INC) ++CFLAGS_append = -I $(INC) -c + ######### It's $(CC) $(CFLAGS) + + LFLAGS = $(LDFLAGS) $(LDINC) +@@ -274,12 +275,12 @@ + # Default rules + + .c.o: +- $(CC) $(CFLAGS) $? ++ $(CC) $(CFLAGS_append) $? + @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1 + + # Target rules + +-all: $(LIBGSM) $(TOAST) $(TCAT) $(UNTOAST) ++all: $(LIBGSM) + @-echo $(ROOT): Done. + + tst: $(TST)/lin2cod $(TST)/cod2lin $(TOAST) $(TST)/test-result diff --git a/recipes/libgsm/libgsm_1.0.10.bb b/recipes/libgsm/libgsm_1.0.10.bb new file mode 100644 index 0000000000..93d042ed36 --- /dev/null +++ b/recipes/libgsm/libgsm_1.0.10.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "GSM Audio Library" +SECTION = "libs" +PRIORITY = "optional" +#DEPENDS = "" +LICENSE = "libgsm" + +PR = "r1" + +inherit pkgconfig gpe + +SRC_URI = "http://www.netsw.org/audio/convert/gsm-${PV}.tar.gz \ + file://${FILESDIR}/libgsm_patch;patch=1;pnum=0" + +S = "${WORKDIR}/gsm-1.0-pl10/" + +headers = "gsm.h" + +do_stage () { + oe_libinstall -a -C lib libgsm ${STAGING_LIBDIR} + mkdir -p ${STAGING_INCDIR}/gsm + for h in ${headers}; do + install -m 0644 ${S}/inc/$h ${STAGING_INCDIR}/gsm/$h + done + ln -s ${STAGING_INCDIR}/gsm/gsm.h ${STAGING_INCDIR}/gsm.h +} + +#do_install () { +# gpe_do_install +# oe_runmake PREFIX=${prefix} DESTDIR=${D} install-devel +#} |