wok view gammu/receipt @ rev 21549
Add LXSession 0.4.6.* as lxsession046 (latest LXSession 0.4.* is 0.4.9.* and it don't compile anyway due to the old libgee; and latest LXSession 0.5.* (just lxsession) has the major drawbacks)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 07 11:25:44 2019 +0300 (2019-05-07) |
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 }