wok-next view gammu/receipt @ rev 9345

xfsprogs: fix conpile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 18:21:21 2011 +0100 (2011-03-19)
parents
children 7ba9895e1216
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 libcurl"
9 BUILD_DEPENDS="$DEPENDS cmake bluez-dev sqlite-dev libusb-dev curl-dev"
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 }