wok annotate gammu/receipt @ rev 19912
Up gammu (1.38.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 13 14:46:37 2017 +0200 (2017-04-13) |
parents | dead8955c3ca |
children | a78610b2eb47 |
rev | line source |
---|---|
pankso@5674 | 1 # SliTaz package receipt. |
pankso@5674 | 2 |
pankso@5674 | 3 PACKAGE="gammu" |
pascal@19912 | 4 VERSION="1.38.2" |
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" |
pascal@15255 | 8 LICENSE="GPL2" |
pankso@5674 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@5674 | 10 WEB_SITE="http://wammu.eu/gammu/" |
pascal@19912 | 11 WGET_URL="https://dl.cihar.com/gammu/releases/$TARBALL" |
pascal@19912 | 12 TAGS="bluetooth" |
pankso@5674 | 13 |
pascal@15255 | 14 DEPENDS="bluez sqlite libusb-compat libcurl" |
pascal@15255 | 15 BUILD_DEPENDS="$DEPENDS cmake" |
pascal@15255 | 16 |
pankso@5674 | 17 # Rules to configure and make the package. |
pankso@5674 | 18 compile_rules() |
pankso@5674 | 19 { |
pankso@5674 | 20 mkdir -p build && cd build |
pankso@5674 | 21 cmake \ |
pankso@5674 | 22 -DCMAKE_INSTALL_PREFIX=/usr \ |
pascal@15265 | 23 -DBUILD_SHARED_LIBS=ON .. && |
pankso@5674 | 24 make && |
pascal@15255 | 25 make DESTDIR=$DESTDIR install |
pankso@5674 | 26 } |
pankso@5674 | 27 |
pankso@5674 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5674 | 29 genpkg_rules() |
pankso@5674 | 30 { |
pankso@5674 | 31 mkdir -p $fs/usr/lib |
pascal@15255 | 32 cp -a $install/usr/bin $fs/usr |
pankso@5674 | 33 rm $fs/usr/bin/gammu-config |
pascal@15255 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@5674 | 35 } |