# vim: set syn=sh: # Packager: Phill Watkins pkgname=gammu pkgver=1.29.0 pkgrel=1pw #arch=noarch source=("http://downloads.sourceforge.net/project/gammu/gammu/$pkgver/gammu-$pkgver.tar.bz2") sourcetemplate=http://people.salixos.org/pwatk/packages/extra/$pkgname docs=("AUTHORS" "BUGS" "INSTALL") url=http://wammu.eu/gammu/ options=('noautodotnew') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "Gammu (Gammu all mobile management utilities)" "Gammu is a command line utility and library to work with mobile phones" "from many vendors. Support for different models differs, but basic" "functions should work with majority of them. Program can work with" "contacts, messages (SMS, EMS and MMS), calendar, todos, filesystem," "integrated radio, camera, etc. It also supports daemon mode to send" "and receive SMSes." ) build() { set -e cd $startdir/src/$pkgname-$pkgver mkdir build ; cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DBUILD_SHARED_LIBS=ON \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DINSTALL_MAN_DIR=man \ -DINSTALL_DOC_DIR=doc/$pkgname-$pkgver \ .. make -j $numjobs make install DESTDIR=$startdir/pkg set +e }