wok annotate gammu/receipt @ rev 20700

updated afio (2.5.1 -> 2.5.2)
author Hans-G?nter Theisgen
date Tue Feb 05 17:01:36 2019 +0100 (2019-02-05)
parents 3badda504cf7
children 3150873c02fa
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"
pascal@20669 10 WEB_SITE="https://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 }