wok-current view gammu/receipt @ rev 23671

updated stoqdrivers (0.9.8.2 -> 1.8.1)
author Hans-G?nter Theisgen
date Sun Apr 26 07:56:47 2020 +0100 (2020-04-26)
parents 3150873c02fa
children af8d823a3077
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p build &&
22 cd build &&
23 cmake .. \
24 -DCMAKE_INSTALL_PREFIX=/usr \
25 -DBUILD_SHARED_LIBS=ON&&
26 make -j 1 &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
35 cp -a $install/usr/bin $fs/usr
36 rm $fs/usr/bin/gammu-config
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }