wok-next annotate gammu/receipt @ rev 13255
Add qemacs-tiny
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Aug 16 21:48:35 2012 +0200 (2012-08-16) |
parents | aa6cc75ded47 |
children | 7326ea8fcc65 |
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" |
gokhlayeh@9395 | 8 DEPENDS="bluez sqlite libusb-compat libcurl" |
gokhlayeh@9395 | 9 BUILD_DEPENDS="$DEPENDS cmake" |
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 } |