wok view gammu/receipt @ rev 21792

Fix ardour & bastet
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 05 12:45:42 2019 +0200 (2019-08-05)
parents a78610b2eb47
children e3c91f2ce71d
line source
1 # SliTaz package receipt.
3 PACKAGE="gammu"
4 VERSION="1.40.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 sqlite libusb-compat libcurl"
16 BUILD_DEPENDS="$DEPENDS cmake"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir -p build && cd build
22 cmake \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 -DBUILD_SHARED_LIBS=ON .. &&
25 make -j 1 &&
26 make DESTDIR=$DESTDIR install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $install/usr/bin $fs/usr
34 rm $fs/usr/bin/gammu-config
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }