wok annotate gammu/receipt @ rev 22721

faenza-icon-theme: typo
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 22 17:28:23 2020 +0100 (2020-01-22)
parents a78610b2eb47
children e3c91f2ce71d
rev   line source
pankso@5674 1 # SliTaz package receipt.
pankso@5674 2
pankso@5674 3 PACKAGE="gammu"
Hans-G?nter@20946 4 VERSION="1.40.0"
pankso@5674 5 CATEGORY="system-tools"
Hans-G?nter@20946 6 TAGS="bluetooth"
Hans-G?nter@20946 7 SHORT_DESC="Library and utility to control cell phone."
pankso@5674 8 MAINTAINER="pankso@slitaz.org"
pascal@15255 9 LICENSE="GPL2"
Hans-G?nter@20946 10 WEB_SITE="https://wammu.eu/gammu/"
Hans-G?nter@20946 11
pankso@5674 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@19912 13 WGET_URL="https://dl.cihar.com/gammu/releases/$TARBALL"
pankso@5674 14
pascal@15255 15 DEPENDS="bluez sqlite libusb-compat libcurl"
pascal@15255 16 BUILD_DEPENDS="$DEPENDS cmake"
pascal@15255 17
pankso@5674 18 # Rules to configure and make the package.
pankso@5674 19 compile_rules()
pankso@5674 20 {
pankso@5674 21 mkdir -p build && cd build
pankso@5674 22 cmake \
pankso@5674 23 -DCMAKE_INSTALL_PREFIX=/usr \
pascal@15265 24 -DBUILD_SHARED_LIBS=ON .. &&
Hans-G?nter@20946 25 make -j 1 &&
pascal@15255 26 make DESTDIR=$DESTDIR install
pankso@5674 27 }
pankso@5674 28
pankso@5674 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5674 30 genpkg_rules()
pankso@5674 31 {
pankso@5674 32 mkdir -p $fs/usr/lib
pascal@15255 33 cp -a $install/usr/bin $fs/usr
pankso@5674 34 rm $fs/usr/bin/gammu-config
pascal@15255 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@5674 36 }