diff options
Diffstat (limited to 'packages/ezx/ezxd_svn.bb')
-rw-r--r-- | packages/ezx/ezxd_svn.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/packages/ezx/ezxd_svn.bb b/packages/ezx/ezxd_svn.bb new file mode 100644 index 0000000000..3a052174b2 --- /dev/null +++ b/packages/ezx/ezxd_svn.bb @@ -0,0 +1,34 @@ +DESCRIPTION = "Open implementation of motorola's tapisrv, replaces opentapi" +LICENSE = "GPLv2" +SECTION = "devel" +AUTHOR = "Daniel Ribeiro" + +PV = "0.0+svnr${SRCREV}" +PR = "r0" + +SRC_URI = "svn://svn.openezx.org/trunk/src/userspace/;module=ezxd;proto=http \ + file://ezxd.init \ + " + +inherit update-rc.d + +INITSCRIPT_NAME = "ezxd" +INITSCRIPT_PARAMS = "start 00 S ." + +RREPLACES = "opentapi" + + +S = "${WORKDIR}/${PN}" + +do_install() { + install -d ${D}${bindir} + install -m 755 ezxd ${D}${bindir} + + install -d ${D}${libdir}/ezxd + install -m 755 *.so ${D}${libdir}/ezxd + + install -d ${D}${sysconfdir}/init.d + install -m 0600 ezxd.conf ${D}${sysconfdir}/ + install -m 0755 ${WORKDIR}/ezxd.init ${D}${sysconfdir}/init.d/ezxd +} + |