blob: bb20476fe4b26952b37960be6fcaafcbde9c09fb (
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
32
33
34
35
36
37
38
39
|
DESCRIPTION = "DSP Gateway Utilities"
HOMEPAGE = "http://dspgateway.sourceforge.net"
LICENSE = "GPL"
DEPENDS = "bison flex udev"
PR = "r1"
SRC_URI = "${SOURCEFORGE_MIRROR}/dspgateway/dspgw-${PV}-arm.tar.bz2 \
file://yytext_ptr.patch \
file://dsp \
file://dsp.rules "
S = "${WORKDIR}/dspgw-${PV}-arm/src/utils"
CFLAGS += "-g -Wall -I${WORKDIR}/dspgw-${PV}-arm/include"
inherit update-rc.d
INITSCRIPT_NAME = "dsp"
INITSCRIPT_PARAMS = "defaults"
# Skipping...
do_configure () {
}
do_compile () {
cd ${S}/dsp_dld/arm && oe_runmake
cd ${S}/dspctl && oe_runmake
}
do_install () {
install -d ${D}${sbindir}
install -d ${D}${sysconfdir}/init.d
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0655 ${S}/dspctl/dspctl ${D}${sbindir}
install -m 0655 ${S}/dsp_dld/arm/dsp_dld ${D}${sbindir}
install -m 0655 ${S}/dsp_dld/arm/dld_client ${D}${sbindir}
install -m 0755 ${WORKDIR}/dsp ${D}${sysconfdir}/init.d
install -m 0755 ${WORKDIR}/dsp.rules ${D}${sysconfdir}/udev/rules.d/
}
|