wok annotate gammu/receipt @ rev 8751
Removed all/most _pkg= lines in wok. The new tazwok-experimental can SOURCE paths and source are are all extracted to WOK/PACKAGE/PACKAGE-VERSION now with tazwok-experimental.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Feb 20 06:53:59 2011 +0000 (2011-02-20) |
parents | |
children | 7ba9895e1216 |
rev | line source |
---|---|
pankso@5674 | 1 # SliTaz package receipt. |
pankso@5674 | 2 |
pankso@5674 | 3 PACKAGE="gammu" |
pankso@5674 | 4 VERSION="1.27.0" |
pankso@5674 | 5 CATEGORY="system-tools" |
pankso@5674 | 6 SHORT_DESC="Library and utility to control cell phone" |
pankso@5674 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@5674 | 8 DEPENDS="bluez sqlite libusb libcurl" |
pankso@5674 | 9 BUILD_DEPENDS="$DEPENDS cmake bluez-dev sqlite-dev libusb-dev curl-dev" |
pankso@5674 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5674 | 11 WEB_SITE="http://wammu.eu/gammu/" |
pankso@5674 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" |
pankso@5674 | 13 |
pankso@5674 | 14 # Rules to configure and make the package. |
pankso@5674 | 15 compile_rules() |
pankso@5674 | 16 { |
pankso@5674 | 17 cd $src |
pankso@5674 | 18 mkdir -p build && cd build |
pankso@5674 | 19 cmake \ |
pankso@5674 | 20 -DCMAKE_INSTALL_PREFIX=/usr \ |
pankso@5674 | 21 -DBUILD_SHARED_LIBS=ON .. && |
pankso@5674 | 22 make && |
pankso@5674 | 23 make DESTDIR=$src/_pkg install |
pankso@5674 | 24 } |
pankso@5674 | 25 |
pankso@5674 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5674 | 27 genpkg_rules() |
pankso@5674 | 28 { |
pankso@5674 | 29 mkdir -p $fs/usr/lib |
pankso@5674 | 30 cp -a $_pkg/usr/bin $fs/usr |
pankso@5674 | 31 rm $fs/usr/bin/gammu-config |
pankso@5674 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pankso@5674 | 33 } |