wok view gammu/receipt @ rev 12504

Up: xorg-libICE and xorg-libSM (start updating Xorg libs)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 24 19:31:40 2012 +0200 (2012-04-24)
parents aa6cc75ded47
children 7326ea8fcc65
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 DEPENDS="bluez sqlite libusb-compat libcurl"
9 BUILD_DEPENDS="$DEPENDS cmake"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://wammu.eu/gammu/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir -p build && cd build
19 cmake \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DBUILD_SHARED_LIBS=ON .. &&
22 make &&
23 make DESTDIR=$src/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 rm $fs/usr/bin/gammu-config
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }