diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-06-11 23:37:06 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-06-11 23:37:06 +0000 |
commit | 61b3dd67bad9d7ed1c27f30a9d9eafb03034b77f (patch) | |
tree | d54ca302a931e5df36d90e784d63a20859b5d9ca | |
parent | 76d0b06b3f6aa4f804ee17fe04b9e279b44cdc4e (diff) |
modplugplay 1.0 compile w/ newer gccs
-rw-r--r-- | packages/libmodplug/libmodplug_0.8.bb | 4 | ||||
-rw-r--r-- | packages/modplugplay/modplugplay_1.0.bb | 12 |
2 files changed, 9 insertions, 7 deletions
diff --git a/packages/libmodplug/libmodplug_0.8.bb b/packages/libmodplug/libmodplug_0.8.bb index 335e83f133..ead04a7cdb 100644 --- a/packages/libmodplug/libmodplug_0.8.bb +++ b/packages/libmodplug/libmodplug_0.8.bb @@ -7,6 +7,8 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/modplug-xmms/libmodplug-${PV}.tar.gz" inherit autotools pkgconfig +# NOTE: autotools_stage_all does nothing here, we need to do it manually do_stage() { - autotools_stage_all + install -m 0644 ${S}/src/modplug.h ${STAGING_INCDIR} + oe_libinstall -C src -so libmodplug ${STAGING_LIBDIR} } diff --git a/packages/modplugplay/modplugplay_1.0.bb b/packages/modplugplay/modplugplay_1.0.bb index 45caf8d083..d91e2b3a97 100644 --- a/packages/modplugplay/modplugplay_1.0.bb +++ b/packages/modplugplay/modplugplay_1.0.bb @@ -1,20 +1,20 @@ -LICENSE = "GPL" DESCRIPTION = "modplugplay is a commandline mod-like audio file player." +HOMEPAGE = "http://gnu.ethz.ch/linuks.mine.nu/modplugplay/" +LICENSE = "GPL" SECTION = "console/multimedia" DEPENDS = "libmodplug" PR = "r1" -SRC_URI = "http://www.linuks.mine.nu/modplugplay/modplugplay-${PV}.tar.gz" +SRC_URI = "http://gnu.ethz.ch/linuks.mine.nu/modplugplay/modplugplay-${PV}.tar.gz" do_compile() { ${CC} -c ${CFLAGS} modplugplay.c -o modplugplay.o - ${CC} -o modplugplay modplugplay.o ${LDFLAGS} -lmodplug + ${CC} -o modplugplay modplugplay.o ${LDFLAGS} -lmodplug -lstdc++ } do_install() { install -d ${D}${bindir} install -d ${D}${mandir}/man1 - install -m 0755 modplugplay ${D}${bindir}/ - install -m 0644 modplugplay.1 ${D}${mandir}/man1/ + install -m 0755 modplugplay ${D}${bindir}/ + install -m 0644 modplugplay.1 ${D}${mandir}/man1/ } - |