desktop/gammu/PKGBUILD
2012-01-01 20:36:21 +00:00

36 lines
856 B
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (abveritas[at]chakra-project[dog]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=gammu
pkgver=1.31.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=('9b1ff5d84730f025802b961ab9f26717')
build() {
cd "$srcdir/$pkgname-$pkgver"
cmake . -DCMAKE_INSTALL_PREFIX="/usr"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
}