From e001255b0e163146d3baadf482c84cd425ab6334 Mon Sep 17 00:00:00 2001 From: WillingMagic Date: Wed, 17 Aug 2011 00:09:16 +0000 Subject: [PATCH] Gammu added --- gammu/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 gammu/PKGBUILD diff --git a/gammu/PKGBUILD b/gammu/PKGBUILD new file mode 100644 index 000000000..f24491f52 --- /dev/null +++ b/gammu/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=gammu +pkgver=1.30.0 +pkgrel=1 +pkgdesc="GNU All Mobile Management Utilities" +arch=('i686' 'x86_64') +url="http://wammu.eu/" +license=('GPL') +depends=('bluez' 'curl' 'libmysqlclient' + 'postgresql-libs' 'python2' 'libusb' 'gnutls') +makedepends=('cmake' 'doxygen' 'mysql') +optdepends=('dialog: support for the gammu-config script') +options=('!makeflags') +source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2) +md5sums=('5bb061f1299e7ae8d38ecac1b8b11465') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + cmake . -DCMAKE_INSTALL_PREFIX="/usr" + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir" install +}