summaryrefslogtreecommitdiff
path: root/packages/squeezeclient/squeezeslave_svn.bb
blob: 03fbb0ede02df2949de9247cc445eb92b9edfae1 (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
29
30
31
SECTION = "console/multimedia"
DESCRIPTION = "command line audio playback client for SlimServer"
LICENSE = "GPL"
DEPENDS += "libmad flac libvorbis"
PV = "3.0+svn-${SRCDATE}"
PR = "r0"

SRC_URI = "svn://svn.slimdevices.com/repos/slim/trunk/;module=softsqueeze;proto=http \
           file://varinit.patch;patch=1 \
           file://runfix.patch;patch=1 \
           file://makefile.patch;patch=1"


S = "${WORKDIR}/softsqueeze/SlimProtoLib"

CFLAGS += "-D_GNU_SOURCE"

inherit autotools

do_compile() {
        oe_runmake LDFLAGS=${TARGET_LDFLAGS} -f makefile.linux
}

do_install() {
        install -d ${D}/${bindir}
        install -m 0755 bin/squeezeslave ${D}/${bindir}
    	oe_libinstall -C lib -so libslimproto ${D}${libdir}
    	oe_libinstall -C lib -so libportaudio ${D}${libdir}
    	oe_libinstall -C lib -so libportmixer ${D}${libdir}
}