wok diff gammu/receipt @ rev 8711
Up: qemu to 0.14.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Feb 17 18:18:32 2011 +0000 (2011-02-17) |
parents | |
children | 7ba9895e1216 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gammu/receipt Thu Feb 17 18:18:32 2011 +0000 1.3 @@ -0,0 +1,33 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gammu" 1.7 +VERSION="1.27.0" 1.8 +CATEGORY="system-tools" 1.9 +SHORT_DESC="Library and utility to control cell phone" 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="bluez sqlite libusb libcurl" 1.12 +BUILD_DEPENDS="$DEPENDS cmake bluez-dev sqlite-dev libusb-dev curl-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.14 +WEB_SITE="http://wammu.eu/gammu/" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + mkdir -p build && cd build 1.22 + cmake \ 1.23 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.24 + -DBUILD_SHARED_LIBS=ON .. && 1.25 + make && 1.26 + make DESTDIR=$src/_pkg install 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/lib 1.33 + cp -a $_pkg/usr/bin $fs/usr 1.34 + rm $fs/usr/bin/gammu-config 1.35 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.36 +}