wok-next view gammu/receipt @ rev 21010

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 12 16:40:30 2018 +0300 (2018-10-12)
parents a7b1395df64a
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gammu"
4 VERSION="1.27.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library and utility to control cell phone"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://wammu.eu/gammu/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 BUILD_DEPENDS="bluez sqlite3 libusb-compat libcurl cmake"
15 SPLIT="gammu-dev"
17 compile_rules() {
18 mkdir build
19 cd build
20 cmake \
21 -DCMAKE_INSTALL_PREFIX=/usr \
22 -DBUILD_SHARED_LIBS=ON \
23 .. &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gammu)
31 copy @std
32 DEPENDS="bluez sqlite3 libusb-compat libcurl"
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }