1 DESCRIPTION
= "GNU All Mobile Managment Utilities"
2 SECTION
= "console/network"
3 DEPENDS
= "bluez-libs cmake-native"
5 HOMEPAGE
= "http://www.gammu.org/"
8 SRC_URI
= "http://dl.cihar.com/gammu/releases/gammu-${PV}.tar.bz2 "
10 # it is CMake based but when inherit cmake it builds static binary
/library
11 inherit autotools pkgconfig
14 cd $
{S
} && CMAKE_C_COMPILER
=$
{TARGET_OS
}-gcc .
/configure
--prefix
=$
{prefix
} --enable
-shared
--enable
-backup
21 # gammu has a non
-standard uninstalled .pc file
, which confuses pkgconfig.bbclass.
22 #
Replace it by custom do_stage_append
():
24 install
-d $
{PKG_CONFIG_DIR
}
25 cat build
-configure
/cfg
/gammu.pc
> $
{PKG_CONFIG_DIR
}/gammu.pc
28 PACKAGES
=+ "libgammu"
30 FILES_$
{PN
} = "${bindir}/gammu ${bindir}/jadmaker"
31 FILES_$
{PN
}-dev
+= "${bindir}/gammu-config"
32 FILES_libgammu
= "${libdir}/libGammu.so.*"