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.oe10
1 files changed, 5 insertions, 5 deletions
diff --git a/modplugplay/modplugplay_1.0.oe b/modplugplay/modplugplay_1.0.oe
index eb61942fe2..3ed231e734 100644
--- a/modplugplay/modplugplay_1.0.oe
+++ b/modplugplay/modplugplay_1.0.oe
@@ -2,17 +2,17 @@ DEPENDS = "virtual/libc libmodplug"
RDEPENDS = "libc6 libmodplug"
DESCRIPTION = "modplugplay is a commandline mod-like audio file player."
-SRC_URI = http://www.linuks.mine.nu/modplugplay/${P}.tar.gz
+SRC_URI = "http://www.linuks.mine.nu/modplugplay/modplugplay-${PV}.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
+ ${CC} -c ${CFLAGS} modplugplay.c -o modplugplay.o
+ ${CC} -o modplugplay modplugplay.o ${LDFLAGS} -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/
+ install -m 0755 modplugplay ${D}${bindir}/
+ install -m 0644 modplugplay.1 ${D}${mandir}/man1/
}