diff options
author | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-02-22 12:53:55 +0000 |
---|---|---|
committer | nslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net> | 2005-02-22 12:53:55 +0000 |
commit | 4f857db335de6935077d4866c51dd9d6851fed1d (patch) | |
tree | 1c923be071d1a56bd79f467fd75ac77959a493a3 /packages/gammu/gammu_1.00.0.bb | |
parent | b32403d57d7e0473dd336e76f95c7b26f113cf26 (diff) |
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded
2005/02/21 17:35:27-06:00 ti.com!kergoth
Kill the ipkg paths patch, since its busted.
2005/02/21 17:33:13-06:00 ti.com!kergoth
Fix sbindir in native.bbclass and cross.bbclass. Thanks to Jordan Crouse for reporting.
2005/02/21 17:13:19-06:00 ti.com!kergoth
Add the paths patch to ipkg which fixes it to no longer hardcode the '/usr/lib/ipkg' path, which I forgot to check in from the previous commit.
2005/02/21 17:09:46-06:00 ti.com!kergoth
Merge oe-devel@oe-devel.bkbits.net:openembedded
into odin.sc.ti.com:/home/kergoth/code/user/oe/openembedded
2005/02/21 17:09:03-06:00 ti.com!kergoth
Run a sed script against our packages to fix some hardcoded target path
references. As always when I do things like this, if packages you maintain
were touched by this, please do a sanity check to ensure the sed script didn't
run wild.
2005/02/21 15:49:47-06:00 ti.com!kergoth
Use a HOTPLUG variable to manage which hotplug you prefer, to ensure that hotplug is still included in task-bootstrap even if you dont set DISTRO.
BKrev: 421b2b63X5eoMcSrC7pVcptXK-iFKg
Diffstat (limited to 'packages/gammu/gammu_1.00.0.bb')
-rw-r--r-- | packages/gammu/gammu_1.00.0.bb | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/packages/gammu/gammu_1.00.0.bb b/packages/gammu/gammu_1.00.0.bb index e69de29bb2..967a551eb2 100644 --- a/packages/gammu/gammu_1.00.0.bb +++ b/packages/gammu/gammu_1.00.0.bb @@ -0,0 +1,73 @@ +DESCRIPTION = "GNU All Mobile Managment Utilities" +SECTION = "console/network" +DEPENDS = "bluez-libs" +LICENSE = "GPL" +HOMEPAGE = "http://mwiacek.com/gsm/soft/gammu.html" +AUTHOR = "Marcin Wiacek <marcin@mwiacek.com>" +MAINTAINER = "Marcin Juszkiewicz <openembedded@hrw.one.pl>" + +SRC_URI = "http://www.mwiacek.com/zips/gsm/gammu/stable/1_0x/gammu-${PV}.tar.gz \ +file://ldflags.patch;patch=1 \ +" + +inherit autotools + +do_compile () { + oe_runmake shared +} + +do_stage() { + install -d ${STAGING_INCDIR}/gammu/misc ${STAGING_INCDIR}/gammu/misc/coding \ + ${STAGING_INCDIR}/gammu/phone ${STAGING_INCDIR}/gammu/phone/at \ + ${STAGING_INCDIR}/gammu/phone/obex ${STAGING_INCDIR}/gammu/phone/nokia \ + ${STAGING_INCDIR}/gammu/phone/nokia/dct3 ${STAGING_INCDIR}/gammu/phone/nokia/dct4 \ + ${STAGING_INCDIR}/gammu/phone/symbian ${STAGING_INCDIR}/gammu/phone/alcatel \ + ${STAGING_INCDIR}/gammu/service ${STAGING_INCDIR}/gammu/service/sms \ + ${STAGING_INCDIR}/gammu/service/backup ${STAGING_INCDIR}/gammu/device \ + ${STAGING_INCDIR}/gammu/device/irda ${STAGING_INCDIR}/gammu/device/bluetoth \ + ${STAGING_INCDIR}/gammu/device/serial ${STAGING_INCDIR}/gammu/protocol \ + ${STAGING_INCDIR}/gammu/protocol/at ${STAGING_INCDIR}/gammu/protocol/obex \ + ${STAGING_INCDIR}/gammu/protocol/nokia ${STAGING_INCDIR}/gammu/protocol/symbian \ + ${STAGING_INCDIR}/gammu/protocol/alcatel + + oe_libinstall -so -C common libGammu ${STAGING_LIBDIR} + install -m 0644 common/*.h ${STAGING_INCDIR}/gammu/ + install -m 0644 common/misc/*.h ${STAGING_INCDIR}/gammu/misc + install -m 0644 common/misc/coding/*.h ${STAGING_INCDIR}/gammu/misc/coding + install -m 0644 common/phone/*.h ${STAGING_INCDIR}/gammu/phone + install -m 0644 common/phone/at/*.h ${STAGING_INCDIR}/gammu/phone/at + install -m 0644 common/phone/obex/*.h ${STAGING_INCDIR}/gammu/phone/obex + install -m 0644 common/phone/nokia/*.h ${STAGING_INCDIR}/gammu/phone/nokia + install -m 0644 common/phone/nokia/dct3/*.h ${STAGING_INCDIR}/gammu/phone/nokia/dct3 + install -m 0644 common/phone/nokia/dct4/*.h ${STAGING_INCDIR}/gammu/phone/nokia/dct4 + install -m 0644 common/phone/symbian/*.h ${STAGING_INCDIR}/gammu/phone/symbian + install -m 0644 common/phone/alcatel/*.h ${STAGING_INCDIR}/gammu/phone/alcatel + install -m 0644 common/service/*.h ${STAGING_INCDIR}/gammu/service + install -m 0644 common/service/sms/*.h ${STAGING_INCDIR}/gammu/service/sms + install -m 0644 common/service/backup/*.h ${STAGING_INCDIR}/gammu/service/backup + install -m 0644 common/device/*.h ${STAGING_INCDIR}/gammu/device + install -m 0644 common/device/irda/*.h ${STAGING_INCDIR}/gammu/device/irda + install -m 0644 common/device/bluetoth/*.h ${STAGING_INCDIR}/gammu/device/bluetoth + install -m 0644 common/device/serial/*.h ${STAGING_INCDIR}/gammu/device/serial + install -m 0644 common/protocol/*.h ${STAGING_INCDIR}/gammu/protocol + install -m 0644 common/protocol/at/*.h ${STAGING_INCDIR}/gammu/protocol/at + install -m 0644 common/protocol/obex/*.h ${STAGING_INCDIR}/gammu/protocol/obex + install -m 0644 common/protocol/nokia/*.h ${STAGING_INCDIR}/gammu/protocol/nokia + install -m 0644 common/protocol/symbian/*.h ${STAGING_INCDIR}/gammu/protocol/symbian + install -m 0644 common/protocol/alcatel/*.h ${STAGING_INCDIR}/gammu/protocol/alcatel +} + +do_install () { + oe_runmake 'DESTDIR=${D}' installshared +} + +PACKAGES =+ "libgammu" + +FILES_${PN} = "${bindir}/gammu" +FILES_libgammu = "${libdir}/libGammu.so*" + +python populate_packages_prepend () { + help_dir = bb.data.expand('${datadir}/gammu/', d) + + do_split_packages(d, help_dir, file_regex='^gammu_(.*)\.txt$', output_pattern='gammu-locale-%s', description='%s translation for Gammu') +} |