wok-6.x view gammu/receipt @ rev 9868
gtk+: clean up a bit the receipt to have a new build (bug with /etc/gtk-2.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 22:27:26 2011 +0200 (2011-05-16) |
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 }