summaryrefslogtreecommitdiff
path: root/recipes/modplugplay/modplugplay_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/modplugplay/modplugplay_1.0.bb')
-rw-r--r--recipes/modplugplay/modplugplay_1.0.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/modplugplay/modplugplay_1.0.bb b/recipes/modplugplay/modplugplay_1.0.bb
new file mode 100644
index 0000000000..d91e2b3a97
--- /dev/null
+++ b/recipes/modplugplay/modplugplay_1.0.bb
@@ -0,0 +1,20 @@
+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://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 -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/
+}