summaryrefslogtreecommitdiff
path: root/packages/gammu/gammu_1.20.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gammu/gammu_1.20.0.bb')
-rw-r--r--packages/gammu/gammu_1.20.0.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/packages/gammu/gammu_1.20.0.bb b/packages/gammu/gammu_1.20.0.bb
new file mode 100644
index 0000000000..a927e2a70b
--- /dev/null
+++ b/packages/gammu/gammu_1.20.0.bb
@@ -0,0 +1,20 @@
+DESCRIPTION = "GNU All Mobile Managment Utilities"
+SECTION = "console/network"
+DEPENDS = "bluez-libs cmake-native"
+LICENSE = "GPL"
+HOMEPAGE = "http://www.gammu.org/"
+
+SRC_URI = "http://dl.cihar.com/gammu/releases/gammu-${PV}.tar.bz2 "
+
+# it is CMake based but when inherit cmake it builds static binary/library
+inherit autotools pkgconfig
+
+do_configure() {
+ cd ${S} && CMAKE_C_COMPILER=${TARGET_OS}-gcc ./configure --prefix=${prefix} --enable-shared --enable-backup
+}
+
+PACKAGES =+ "libgammu"
+
+FILES_${PN} = "${bindir}/gammu ${bindir}/jadmaker"
+FILES_${PN}-dev += "${bindir}/gammu-config"
+FILES_libgammu = "${libdir}/libGammu.so.*"