summaryrefslogtreecommitdiff
path: root/packages/modplugplay/modplugplay_1.0.bb
blob: d91e2b3a97357c9a2a243c748c2323c08cc4a1c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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/
}