diff options
author | Koen Kooi <koen@openembedded.org> | 2007-03-18 08:28:38 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2007-03-18 08:28:38 +0000 |
commit | 220c6a6b42b294f284963fce11caf047cf835b76 (patch) | |
tree | a36e0fbb7c6f9067afca99f46ba1171532f630b6 /packages/gsm/libgsmd_svn.bb | |
parent | 7b1e285f471c8edd83f7a481a7e7aab5210d5ff3 (diff) |
libgsmd: merge with openmoko svn, but put the device-specific initscript in a device specific directory
Diffstat (limited to 'packages/gsm/libgsmd_svn.bb')
-rw-r--r-- | packages/gsm/libgsmd_svn.bb | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/packages/gsm/libgsmd_svn.bb b/packages/gsm/libgsmd_svn.bb index 860adf3b0a..99a08436ed 100644 --- a/packages/gsm/libgsmd_svn.bb +++ b/packages/gsm/libgsmd_svn.bb @@ -4,21 +4,30 @@ LICENSE = "GPL" SECTION = "libs/gsm" PROVIDES += "gsmd" PV = "0.0+svn${SRCDATE}" -PR = "r2" +PR = "r3" -SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http" +SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \ + file://gsmd" S = "${WORKDIR}/gsm" -inherit autotools pkgconfig +inherit autotools pkgconfig update-rc.d + +INITSCRIPT_NAME = "gsmd" +INITSCRIPT_PARAMS = "defaults 35" do_stage() { autotools_stage_all } +do_install_append() { + install -d ${D}/${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/gsmd ${D}/${sysconfdir}/init.d/ +} + PACKAGES =+ "${PN}-tools gsmd" RDEPENDS_${PN} = "gsmd" FILES_${PN}-tools = "${bindir}/*" -FILES_gsmd = "${sbindir}/gsmd" +FILES_gsmd = "${sbindir}/gsmd ${sysconfdir}" PACKAGES_DYNAMIC = "libgsmd* gsmd" |