java-native.bbclass: remove do_stage function, because of NATIVE_INSTALL_WORKS =...
[openembedded.git] / recipes / gsm / gsmd.inc
blob2e0aad141150c7e670a5a5739fa5507b0cfb048d
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 SRCREV = "4505"
8 PV = "0.1+svnr${SRCPV}"
9 PR = "r44"
11 SRC_URI = "svn://svn.openmoko.org/trunk/src/target;module=gsm;proto=http \
12            file://gsmd \
13            file://default"
14 S = "${WORKDIR}/gsm"
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 = ""
21 INITSCRIPT_NAME = "gsmd"
22 INITSCRIPT_PARAMS = "defaults 35"
24 do_stage() {
25     autotools_stage_all
28 do_install_append() {
29         install -d ${D}/${sysconfdir}/init.d
30         install -m 0755 ${WORKDIR}/gsmd ${D}/${sysconfdir}/init.d/
31         install -d ${D}/${sysconfdir}/default
32         install ${WORKDIR}/default ${D}/${sysconfdir}/default/gsmd
35 PACKAGES =+ "\
36   ${PN}-tools \
37   ${BASEPN}-plugins \
38   ${BASEPN}-plugin-machine-generic \
39   ${BASEPN}-plugin-machine-tihtc \
40   ${BASEPN}-plugin-machine-gta01 \
41   ${BASEPN}-plugin-vendor-bcm \
42   ${BASEPN}-plugin-vendor-qc \
43   ${BASEPN}-plugin-vendor-ti \
44   ${BASEPN}-plugin-vendor-tihtc \
47 ALLOW_EMPTY_${BASEPN}-plugin-machine-gta01 = "1"
49 RDEPENDS_${BASEPN}-plugins = "\
50   ${BASEPN}-plugin-machine-generic \
51   ${BASEPN}-plugin-machine-tihtc \
52   ${BASEPN}-plugin-machine-gta01 \
53   ${BASEPN}-plugin-vendor-bcm \
54   ${BASEPN}-plugin-vendor-qc \
55   ${BASEPN}-plugin-vendor-ti \
56   ${BASEPN}-plugin-vendor-tihtc \
59 RDEPENDS_${PN} += "update-rc.d initscripts"
60 RRECOMMENDS_${PN} += "${BASEPN}-plugins"
62 FILES_${PN}-dbg += "${libdir}/gsmd/.debug/*"
63 FILES_${PN}-tools = "${bindir}/*"
64 FILES_${BASEPN}-plugins = ""
65 FILES_${BASEPN}-plugin-machine-generic = "${libdir}/gsmd/libgsmd-machine_generic.so*"
66 FILES_${BASEPN}-plugin-machine-tihtc = "${libdir}/gsmd/libgsmd-machine_tihtc.so*"
67 FILES_${BASEPN}-plugin-machine-gta01 = "${libdir}/gsmd/libgsmd-machine_gta01.so*"
68 FILES_${BASEPN}-plugin-vendor-qc = "${libdir}/gsmd/libgsmd-vendor_qc.so*"
69 FILES_${BASEPN}-plugin-vendor-bcm = "${libdir}/gsmd/libgsmd-vendor_bcm.so*"
70 FILES_${BASEPN}-plugin-vendor-ti = "${libdir}/gsmd/libgsmd-vendor_ti.so*"
71 FILES_${BASEPN}-plugin-vendor-tihtc = "${libdir}/gsmd/libgsmd-vendor_tihtc.so*"
73 PACKAGES_DYNAMIC = "lib${BASEPN}* ${BASEPN}"
75 ALLOW_EMPTY_${BASEPN}-plugins = "1"
77 RCONFLICTS_lib${BASEPN} = "lib${CONFLICTNAME}"
78 RCONFLICTS_${BASEPN} = "${CONFLICTNAME}"
79 RCONFLICTS_${BASEPN}-plugins = "${CONFLICTNAME}-plugins"
80 RCONFLICTS_${BASEPN}-plugin-machine-generic = "${CONFLICTNAME}-plugin-machine-generic"
81 RCONFLICTS_${BASEPN}-plugin-machine-tihtc = "${CONFLICTNAME}-plugin-machine-tihtc"
82 RCONFLICTS_${BASEPN}-plugin-machine-gta01 = "${CONFLICTNAME}-plugin-machine-gta01"
83 RCONFLICTS_${BASEPN}-plugin-vendor-qc = "${CONFLICTNAME}-plugin-vendor-qc"
84 RCONFLICTS_${BASEPN}-plugin-vendor-bcm = "${CONFLICTNAME}-plugin-vendor-bcm"
85 RCONFLICTS_${BASEPN}-plugin-vendor-ti = "${CONFLICTNAME}-plugin-vendor-ti"
86 RCONFLICTS_${BASEPN}-plugin-vendor-tihtc = "${CONFLICTNAME}-plugin-vendor-tihtc"
88 RPROVIDES_lib${BASEPN} += "lib${CONFLICTNAME}"
89 RPROVIDES_${BASEPN} = "${CONFLICTNAME}"
90 RPROVIDES_${BASEPN}-plugins = "${CONFLICTNAME}-plugins"
91 RPROVIDES_${BASEPN}-plugin-machine-generic = "${CONFLICTNAME}-plugin-machine-generic"
92 RPROVIDES_${BASEPN}-plugin-machine-tihtc = "${CONFLICTNAME}-plugin-machine-tihtc"
93 RPROVIDES_${BASEPN}-plugin-machine-gta01 = "${CONFLICTNAME}-plugin-machine-gta01"
94 RPROVIDES_${BASEPN}-plugin-vendor-qc = "${CONFLICTNAME}-plugin-vendor-qc"
95 RPROVIDES_${BASEPN}-plugin-vendor-bcm = "${CONFLICTNAME}-plugin-vendor-bcm"
96 RPROVIDES_${BASEPN}-plugin-vendor-ti = "${CONFLICTNAME}-plugin-vendor-ti"
97 RPROVIDES_${BASEPN}-plugin-vendor-tihtc = "${CONFLICTNAME}-plugin-vendor-tihtc"