wok-6.x annotate gammu/receipt @ rev 23062
php-auth-pam: update for php 7.3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Mar 08 13:54:20 2020 +0100 (2020-03-08) |
parents | 3150873c02fa |
children | af8d823a3077 |
rev | line source |
---|---|
pankso@5674 | 1 # SliTaz package receipt. |
pankso@5674 | 2 |
pankso@5674 | 3 PACKAGE="gammu" |
Hans-G?nter@22796 | 4 VERSION="1.41.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 |
Hans-G?nter@22796 | 15 DEPENDS="bluez libcurl libusb-compat sqlite" |
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 { |
Hans-G?nter@22796 | 21 mkdir -p build && |
Hans-G?nter@22796 | 22 cd build && |
Hans-G?nter@22796 | 23 cmake .. \ |
Hans-G?nter@22796 | 24 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@22796 | 25 -DBUILD_SHARED_LIBS=ON&& |
Hans-G?nter@20946 | 26 make -j 1 && |
pascal@15255 | 27 make DESTDIR=$DESTDIR install |
pankso@5674 | 28 } |
pankso@5674 | 29 |
pankso@5674 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@5674 | 31 genpkg_rules() |
pankso@5674 | 32 { |
pankso@5674 | 33 mkdir -p $fs/usr/lib |
Hans-G?nter@22796 | 34 |
Hans-G?nter@22796 | 35 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22796 | 36 rm $fs/usr/bin/gammu-config |
Hans-G?nter@22796 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@5674 | 38 } |