wok view gammu/receipt @ rev 19022
Up slitaz-boot-scripts (427), tazpkg (904), tazwok (557)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 01 11:32:41 2016 +0200 (2016-04-01) |
parents | 7326ea8fcc65 |
children | 3badda504cf7 |
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://wammu.eu/gammu/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
13 DEPENDS="bluez sqlite libusb-compat libcurl"
14 BUILD_DEPENDS="$DEPENDS cmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 mkdir -p build && cd build
21 cmake \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DBUILD_SHARED_LIBS=ON .. &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/bin $fs/usr
33 rm $fs/usr/bin/gammu-config
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }