diff options
Diffstat (limited to 'meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb')
-rw-r--r-- | meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb b/meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb new file mode 100644 index 000000000..0dac7cba3 --- /dev/null +++ b/meta-oe/recipes-connectivity/gammu/gammu_1.32.0.bb | |||
@@ -0,0 +1,55 @@ | |||
1 | SUMMARY = "GNU All Mobile Managment Utilities" | ||
2 | SECTION = "console/network" | ||
3 | DEPENDS = "cmake-native virtual/libiconv libdbi mysql5 glib-2.0 udev" | ||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=a17cb0a873d252440acfdf9b3d0e7fbf" | ||
6 | HOMEPAGE = "http://www.gammu.org/" | ||
7 | |||
8 | SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}.tar.bz2 \ | ||
9 | file://gammurc \ | ||
10 | file://gammu-smsdrc \ | ||
11 | " | ||
12 | |||
13 | SRC_URI[md5sum] = "8ea16c6b3cc48097a8e62311fe0e25b9" | ||
14 | SRC_URI[sha256sum] = "de67caa102aa4c8fbed5300e5a0262e40411c4cc79f4379a8d34eed797968fc3" | ||
15 | |||
16 | inherit distutils cmake gettext | ||
17 | |||
18 | do_install_append() { | ||
19 | # these files seem to only be used by symbian and trigger QA warnings | ||
20 | rm -rf ${D}/usr/share/gammu | ||
21 | #install default configuration files | ||
22 | install -d ${D}${sysconfdir} | ||
23 | install -m 0644 ${WORKDIR}/gammurc ${D}${sysconfdir}/gammurc | ||
24 | install -m 0644 ${WORKDIR}/gammu-smsdrc ${D}${sysconfdir}/gammu-smsdrc | ||
25 | } | ||
26 | |||
27 | EXTRA_OECONF = " \ | ||
28 | --enable-shared \ | ||
29 | --enable-backup \ | ||
30 | --enable-protection \ | ||
31 | " | ||
32 | |||
33 | EXTRA_OECMAKE = " \ | ||
34 | -DWITH_CURL=OFF \ | ||
35 | -DWITH_BLUETOOTH=OFF \ | ||
36 | -DWITH_NOKIA_SUPPORT=OFF \ | ||
37 | -DWITH_IRDA=OFF \ | ||
38 | -DWITH_PYTHON=OFF \ | ||
39 | -DWITH_MySQL=ON \ | ||
40 | -DWITH_Postgres=OFF \ | ||
41 | " | ||
42 | |||
43 | PACKAGES =+ "${PN}-smsd libgammu libgsmsd python-${PN}" | ||
44 | |||
45 | FILES_${PN} = "${bindir}/gammu ${bindir}/jadmaker ${sysconfdir}/bash_completion.d/gammu \ | ||
46 | ${bindir}/gammu-detect ${sysconfdir}/gammurc" | ||
47 | CONFFILES_${PN} = "${sysconfdir}/gammurc" | ||
48 | FILES_${PN}-smsd = "${bindir}/gammu-smsd* ${sysconfdir}/gammu-smsdrc" | ||
49 | CONFFILES_${PN}-smsd = "${sysconfdir}/gammu-smsdrc" | ||
50 | FILES_${PN}-dev += "${bindir}/gammu-config ${libdir}/*.so" | ||
51 | FILES_${PN}-dbg += "${bindir}/.debug ${libdir}/.debug ${PYTHON_SITEPACKAGES_DIR}/gammu/.debug" | ||
52 | FILES_libgammu = "${libdir}/libGammu.so.*" | ||
53 | FILES_libgsmsd = "${libdir}/libgsmsd.so.*" | ||
54 | FILES_python-${PN} = "${PYTHON_SITEPACKAGES_DIR}/gammu/*.??" | ||
55 | |||