wok-6.x annotate gammu/receipt @ rev 24503

updated dulwich (0.19.14 -> 0.19.16)
author Hans-G?nter Theisgen
date Sun Feb 20 10:36:29 2022 +0100 (2022-02-20)
parents e3c91f2ce71d
children 49b4a69029bb
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
pascal@24445 18 # What is the latest version available today?
pascal@24445 19 current_version()
pascal@24445 20 {
pascal@24445 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24445 22 sed '/gammu-[0-9]/!d;s|.*gammu-||;s|/.*||;s|-|.|g;q'
pascal@24445 23 }
pascal@24445 24
pankso@5674 25 # Rules to configure and make the package.
pankso@5674 26 compile_rules()
pankso@5674 27 {
Hans-G?nter@22796 28 mkdir -p build &&
Hans-G?nter@22796 29 cd build &&
Hans-G?nter@22796 30 cmake .. \
Hans-G?nter@22796 31 -DCMAKE_INSTALL_PREFIX=/usr \
Hans-G?nter@22796 32 -DBUILD_SHARED_LIBS=ON&&
Hans-G?nter@20946 33 make -j 1 &&
pascal@15255 34 make DESTDIR=$DESTDIR install
pankso@5674 35 }
pankso@5674 36
pankso@5674 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@5674 38 genpkg_rules()
pankso@5674 39 {
pankso@5674 40 mkdir -p $fs/usr/lib
Hans-G?nter@22796 41
Hans-G?nter@22796 42 cp -a $install/usr/bin $fs/usr
Hans-G?nter@22796 43 rm $fs/usr/bin/gammu-config
Hans-G?nter@22796 44 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@5674 45 }