diff options
Diffstat (limited to 'recipes/comprec')
-rw-r--r-- | recipes/comprec/comprec-0.01/makefile.patch | 50 | ||||
-rw-r--r-- | recipes/comprec/comprec-0.02/makefile.patch | 51 | ||||
-rw-r--r-- | recipes/comprec/comprec_0.01.bb | 19 | ||||
-rw-r--r-- | recipes/comprec/comprec_0.02.bb | 19 |
4 files changed, 139 insertions, 0 deletions
diff --git a/recipes/comprec/comprec-0.01/makefile.patch b/recipes/comprec/comprec-0.01/makefile.patch new file mode 100644 index 0000000000..fdac7fad27 --- /dev/null +++ b/recipes/comprec/comprec-0.01/makefile.patch @@ -0,0 +1,50 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- comprec-0.01/Makefile~makefile 2003-01-21 16:29:20.000000000 -0500 ++++ comprec-0.01/Makefile 2004-03-04 03:34:10.000000000 -0500 +@@ -1,16 +1,17 @@ + ZROOT=/home/zaurus/develop +-CC_NATIVE=gcc +-CC=$(ZROOT)/arm/bin/arm-linux-gcc +-AS=$(ZROOT)/arm/bin/arm-v4l-linux-as +-STRIP=$(ZROOT)/arm/bin/arm-v4l-linux-strip ++BUILD_CC=gcc ++CC=$(BUILD_CC) ++AS=as ++LD=ld ++STRIP=strip + IPKG_BUILD=./ipkg-build + +-CFLAGS+=-Wall -O2 -fno-exceptions -g +-LDFLAGS+=-lm -g ++CFLAGS=-Wall -O2 -fno-exceptions ++LDFLAGS= ++LIBS=-lm + + VERSION=0.01 + +- + OBJECTS=bitstream.o huffman.o layer3.o loop.o main.o \ + utils.o wave.o coder_sa.o coder.o + CSOURCES=bitstream.c coder.c huffman.c layer3.c loop.c main.c \ +@@ -21,14 +22,14 @@ + README ipkg-build control.in + + shine: table1.h table2.h $(OBJECTS) +- $(CC) -o $@ $(OBJECTS) $(LDFLAGS) ++ $(CC) -o $@ $(LDFLAGS) $(LIBS) $(OBJECTS) + $(STRIP) $@ + + table1.h table2.h: tables +- tables ++ ./tables + + tables: tables.c +- $(CC_NATIVE) -o $@ $(CFLAGS) $< -lm ++ $(BUILD_CC) -o $@ $(CFLAGS) $< -lm + + clean: + rm -f $(OBJECTS) shine .depend diff --git a/recipes/comprec/comprec-0.02/makefile.patch b/recipes/comprec/comprec-0.02/makefile.patch new file mode 100644 index 0000000000..9693351aa9 --- /dev/null +++ b/recipes/comprec/comprec-0.02/makefile.patch @@ -0,0 +1,51 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- comprec-0.02/Makefile~makefile 2003-02-16 16:53:11.000000000 -0500 ++++ comprec-0.02/Makefile 2004-03-04 03:38:50.000000000 -0500 +@@ -1,12 +1,15 @@ +-ZROOT=/home/zaurus/develop +-CC_NATIVE=gcc +-CC=$(ZROOT)/arm/bin/arm-linux-gcc +-AS=$(ZROOT)/arm/bin/arm-v4l-linux-as +-STRIP=$(ZROOT)/arm/bin/arm-v4l-linux-strip ++BUILD_CC=gcc ++CC=$(BUILD_CC) ++AS=as ++LD=ld ++STRIP=strip + IPKG_BUILD=./ipkg-build + +-CFLAGS+=-Wall -O2 -fno-exceptions -g +-LDFLAGS+=-lm -g ++CFLAGS=-Wall -O2 -fno-exceptions ++LDFLAGS= ++LIBS=-lm ++BUILD_CFLAGS=$(CFLAGS) ++BUILD_LDFLAGS=$(LDFLAGS) + + VERSION=0.02 + +@@ -22,17 +25,17 @@ + comprec0.png comprec.desktop + + shine: table1.h table2.h $(OBJECTS) +- $(CC) -o $@ $(OBJECTS) $(LDFLAGS) ++ $(CC) -o $@ $(LDFLAGS) $(LIBS) $(OBJECTS) + $(STRIP) $@ + + Maindlg.py: Maindlg.ui + pyuic Maindlg.ui > Maindlg.py + + table1.h table2.h: tables +- tables ++ ./tables + + tables: tables.c +- $(CC_NATIVE) -o $@ $(CFLAGS) $< -lm ++ $(BUILD_CC) -o $@ $(BUILD_CFLAGS) $(BUILD_LDFLAGS) $(LIBS) $< + + clean: + rm -f $(OBJECTS) shine .depend diff --git a/recipes/comprec/comprec_0.01.bb b/recipes/comprec/comprec_0.01.bb new file mode 100644 index 0000000000..3b0e858385 --- /dev/null +++ b/recipes/comprec/comprec_0.01.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "An MP3 command line encoder" +HOMEPAGE = "http://unimut.fsk.uni-heidelberg.de/demi/comprec/index.html" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPL" + +SRC_URI = "http://unimut.fsk.uni-heidelberg.de/demi/comprec/comprec-${PV}.tar.gz \ + file://makefile.patch;patch=1" + +export AS = "${TARGET_PREFIX}as" + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 shine ${D}${bindir}/shine +} diff --git a/recipes/comprec/comprec_0.02.bb b/recipes/comprec/comprec_0.02.bb new file mode 100644 index 0000000000..3b0e858385 --- /dev/null +++ b/recipes/comprec/comprec_0.02.bb @@ -0,0 +1,19 @@ +DESCRIPTION = "An MP3 command line encoder" +HOMEPAGE = "http://unimut.fsk.uni-heidelberg.de/demi/comprec/index.html" +SECTION = "base" +PRIORITY = "optional" +LICENSE = "GPL" + +SRC_URI = "http://unimut.fsk.uni-heidelberg.de/demi/comprec/comprec-${PV}.tar.gz \ + file://makefile.patch;patch=1" + +export AS = "${TARGET_PREFIX}as" + +do_compile() { + oe_runmake +} + +do_install() { + install -d ${D}${bindir} + install -m 0755 shine ${D}${bindir}/shine +} |