wok-6.x view gammu/receipt @ rev 24477
updated dialog and dialog-dev (1.3_20210324 -> 1.3_20220117)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 18 10:50:23 2022 +0100 (2022-02-18) |
parents | e3c91f2ce71d |
children | 49b4a69029bb |
line source
1 # SliTaz package receipt.
3 PACKAGE="gammu"
4 VERSION="1.41.0"
5 CATEGORY="system-tools"
6 TAGS="bluetooth"
7 SHORT_DESC="Library and utility to control cell phone."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://wammu.eu/gammu/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="https://dl.cihar.com/gammu/releases/$TARBALL"
15 DEPENDS="bluez libcurl libusb-compat sqlite"
16 BUILD_DEPENDS="$DEPENDS cmake"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/gammu-[0-9]/!d;s|.*gammu-||;s|/.*||;s|-|.|g;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir -p build &&
29 cd build &&
30 cmake .. \
31 -DCMAKE_INSTALL_PREFIX=/usr \
32 -DBUILD_SHARED_LIBS=ON&&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
42 cp -a $install/usr/bin $fs/usr
43 rm $fs/usr/bin/gammu-config
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }