wok-6.x view gammu/receipt @ rev 22803
gtk+3: added build dependencies autoconf and automake
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jan 28 09:26:25 2020 +0100 (2020-01-28) |
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 }