summaryrefslogtreecommitdiff
path: root/modplugplay/modplugplay_1.0.oe
diff options
context:
space:
mode:
Diffstat (limited to 'modplugplay/modplugplay_1.0.oe')
-rw-r--r--modplugplay/modplugplay_1.0.oe17
1 files changed, 17 insertions, 0 deletions
diff --git a/modplugplay/modplugplay_1.0.oe b/modplugplay/modplugplay_1.0.oe
index e69de29bb2..adfd380aa2 100644
--- a/modplugplay/modplugplay_1.0.oe
+++ b/modplugplay/modplugplay_1.0.oe
@@ -0,0 +1,17 @@
+DEPENDS = virtual/libc libmodplug
+RDEPENDS = libc6 libmodplug
+
+SRC_URI = http://www.linuks.mine.nu/modplugplay/${P}.tar.gz
+
+do_compile() {
+ ${CC} -c ${CFLAGS} modplugplay.c -o modplugplay.o -I${STAGING_DIR}/target/include
+ ${CC} -o modplugplay modplugplay.o ${LDFLAGS} -L${STAGING_LIBDIR} -lmodplug
+}
+
+do_install() {
+ install -d ${D}${bindir}
+ install -d ${D}${mandir}/man1
+ install -m 755 modplugplay ${D}${bindir}/
+ install -m 644 modplugplay.1 ${D}${mandir}/man1/
+}
+