diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/recipes-connectivity/gsm/gsmd.inc | |
parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-connectivity/gsm/gsmd.inc')
-rw-r--r-- | meta/recipes-connectivity/gsm/gsmd.inc | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/gsm/gsmd.inc b/meta/recipes-connectivity/gsm/gsmd.inc new file mode 100644 index 0000000000..a69fdd90f1 --- /dev/null +++ b/meta/recipes-connectivity/gsm/gsmd.inc | |||
@@ -0,0 +1,93 @@ | |||
1 | DESCRIPTION = "GSM libraries and daemons implementing the 07.10 specification" | ||
2 | HOMEPAGE = "http://www.openmoko.org" | ||
3 | LICENSE = "GPL LGPL" | ||
4 | SECTION = "libs/gsm" | ||
5 | PROVIDES += "gsmd" | ||
6 | RPROVIDES_${PN} = "libgsmd0 libgsmd gsmd gsmd-devel" | ||
7 | PV = "0.1+svnr${SRCREV}" | ||
8 | PR = "r47" | ||
9 | |||
10 | SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \ | ||
11 | file://fix_machine_init.patch;patch=1 \ | ||
12 | file://gsmd \ | ||
13 | file://default" | ||
14 | S = "${WORKDIR}/gsm" | ||
15 | |||
16 | inherit autotools pkgconfig update-rc.d | ||
17 | # handle update-rc.d RDEPENDS manually, we don't need it on | ||
18 | # anything but gsmd | ||
19 | RDEPENDS_append = "" | ||
20 | |||
21 | INITSCRIPT_NAME = "gsmd" | ||
22 | INITSCRIPT_PARAMS = "defaults 35" | ||
23 | |||
24 | do_install_append() { | ||
25 | install -d ${D}/${sysconfdir}/init.d | ||
26 | install -m 0755 ${WORKDIR}/gsmd ${D}/${sysconfdir}/init.d/ | ||
27 | install -d ${D}/${sysconfdir}/default | ||
28 | install ${WORKDIR}/default ${D}/${sysconfdir}/default/gsmd | ||
29 | } | ||
30 | |||
31 | PACKAGES =+ "\ | ||
32 | ${PN}-tools \ | ||
33 | ${BASEPN}-plugins \ | ||
34 | ${BASEPN}-plugin-machine-generic \ | ||
35 | ${BASEPN}-plugin-machine-tihtc \ | ||
36 | ${BASEPN}-plugin-machine-gta01 \ | ||
37 | ${BASEPN}-plugin-vendor-bcm \ | ||
38 | ${BASEPN}-plugin-vendor-qc \ | ||
39 | ${BASEPN}-plugin-vendor-ti \ | ||
40 | ${BASEPN}-plugin-vendor-tihtc \ | ||
41 | " | ||
42 | |||
43 | ALLOW_EMPTY_${BASEPN}-plugin-machine-gta01 = "1" | ||
44 | |||
45 | RDEPENDS_${BASEPN}-plugins = "\ | ||
46 | ${BASEPN}-plugin-machine-generic \ | ||
47 | ${BASEPN}-plugin-machine-tihtc \ | ||
48 | ${BASEPN}-plugin-machine-gta01 \ | ||
49 | ${BASEPN}-plugin-vendor-bcm \ | ||
50 | ${BASEPN}-plugin-vendor-qc \ | ||
51 | ${BASEPN}-plugin-vendor-ti \ | ||
52 | ${BASEPN}-plugin-vendor-tihtc \ | ||
53 | " | ||
54 | |||
55 | RDEPENDS_${PN} += "update-rc.d initscripts" | ||
56 | RRECOMMENDS_${PN} += "${BASEPN}-plugins" | ||
57 | |||
58 | FILES_${PN}-dbg += "${libdir}/gsmd/.debug/*" | ||
59 | FILES_${PN}-tools = "${bindir}/*" | ||
60 | FILES_${BASEPN}-plugins = "" | ||
61 | FILES_${BASEPN}-plugin-machine-generic = "${libdir}/gsmd/libgsmd-machine_generic.so*" | ||
62 | FILES_${BASEPN}-plugin-machine-tihtc = "${libdir}/gsmd/libgsmd-machine_tihtc.so*" | ||
63 | FILES_${BASEPN}-plugin-machine-gta01 = "${libdir}/gsmd/libgsmd-machine_gta01.so*" | ||
64 | FILES_${BASEPN}-plugin-vendor-qc = "${libdir}/gsmd/libgsmd-vendor_qc.so*" | ||
65 | FILES_${BASEPN}-plugin-vendor-bcm = "${libdir}/gsmd/libgsmd-vendor_bcm.so*" | ||
66 | FILES_${BASEPN}-plugin-vendor-ti = "${libdir}/gsmd/libgsmd-vendor_ti.so*" | ||
67 | FILES_${BASEPN}-plugin-vendor-tihtc = "${libdir}/gsmd/libgsmd-vendor_tihtc.so*" | ||
68 | |||
69 | PACKAGES_DYNAMIC = "lib${BASEPN}* ${BASEPN}" | ||
70 | |||
71 | ALLOW_EMPTY_${BASEPN}-plugins = "1" | ||
72 | |||
73 | RCONFLICTS_lib${BASEPN} = "lib${CONFLICTNAME}" | ||
74 | RCONFLICTS_${BASEPN} = "${CONFLICTNAME}" | ||
75 | RCONFLICTS_${BASEPN}-plugins = "${CONFLICTNAME}-plugins" | ||
76 | RCONFLICTS_${BASEPN}-plugin-machine-generic = "${CONFLICTNAME}-plugin-machine-generic" | ||
77 | RCONFLICTS_${BASEPN}-plugin-machine-tihtc = "${CONFLICTNAME}-plugin-machine-tihtc" | ||
78 | RCONFLICTS_${BASEPN}-plugin-machine-gta01 = "${CONFLICTNAME}-plugin-machine-gta01" | ||
79 | RCONFLICTS_${BASEPN}-plugin-vendor-qc = "${CONFLICTNAME}-plugin-vendor-qc" | ||
80 | RCONFLICTS_${BASEPN}-plugin-vendor-bcm = "${CONFLICTNAME}-plugin-vendor-bcm" | ||
81 | RCONFLICTS_${BASEPN}-plugin-vendor-ti = "${CONFLICTNAME}-plugin-vendor-ti" | ||
82 | RCONFLICTS_${BASEPN}-plugin-vendor-tihtc = "${CONFLICTNAME}-plugin-vendor-tihtc" | ||
83 | |||
84 | RPROVIDES_lib${BASEPN} += "lib${CONFLICTNAME}" | ||
85 | RPROVIDES_${BASEPN} = "${CONFLICTNAME}" | ||
86 | RPROVIDES_${BASEPN}-plugins = "${CONFLICTNAME}-plugins" | ||
87 | RPROVIDES_${BASEPN}-plugin-machine-generic = "${CONFLICTNAME}-plugin-machine-generic" | ||
88 | RPROVIDES_${BASEPN}-plugin-machine-tihtc = "${CONFLICTNAME}-plugin-machine-tihtc" | ||
89 | RPROVIDES_${BASEPN}-plugin-machine-gta01 = "${CONFLICTNAME}-plugin-machine-gta01" | ||
90 | RPROVIDES_${BASEPN}-plugin-vendor-qc = "${CONFLICTNAME}-plugin-vendor-qc" | ||
91 | RPROVIDES_${BASEPN}-plugin-vendor-bcm = "${CONFLICTNAME}-plugin-vendor-bcm" | ||
92 | RPROVIDES_${BASEPN}-plugin-vendor-ti = "${CONFLICTNAME}-plugin-vendor-ti" | ||
93 | RPROVIDES_${BASEPN}-plugin-vendor-tihtc = "${CONFLICTNAME}-plugin-vendor-tihtc" | ||