summaryrefslogtreecommitdiff
path: root/packages/ezx/opentapi_svn.bb
blob: ad42b0868ba06f9c420d5456f9e39b0a32d3d632 (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
DESCRIPTION = "Open implementation of motorola's tapisrc"
LICENSE = "GPLv2"

PV = "0.0+svn${SRCDATE}"
PR = "r1"

SRC_URI = "svn://svn.openezx.org/trunk/src/userspace/;module=opentapi;proto=http \
           file://opentapi.init \
          "

inherit update-rc.d

INITSCRIPT_NAME = "opentapi"
INITSCRIPT_PARAMS = "start 04 S ."


S = "${WORKDIR}/${PN}"

do_install() {
	install -d ${D}${bindir}
	install -m 755 opentapi ${D}${bindir}
        
	install -d ${D}${sysconfdir}/init.d
        install -m 0755 ${WORKDIR}/opentapi.init ${D}${sysconfdir}/init.d/opentapi
}