summaryrefslogtreecommitdiff
path: root/usound/usound_0.2.0.oe
blob: 8c0f48a43e8c551d355393f111b1adf9a72ba5c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
DESCRIPTION = "The Useful Sound Daemon"
SECTION = "libs"
PRIORITY = "optional"
MAINTAINER = "Michael Lauer <mickey@Vanille.de>"
RDEPENDS = "libc6 pth"
DEPENDS = "virtual/libc pth"

SRC_URI = "http://mattcamp.paunix.org/usound/usound-${PV}.tar.gz"
S = "${WORKDIR}/usound"

do_compile() {
	for dir in lib daemon
	do
		cd ${S}/$dir
		oe_runmake
	done
}

do_stage() {
	install lib/libusound.a ${STAGING_LIBDIR}/
        install -m 0644 lib/usound.h ${STAGING_INCDIR}/
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 daemon/usound ${D}${bindir}
}