wok-next view gammu/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gammu"
4 VERSION="1.41.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library and utility to control cell phone"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://wammu.eu/gammu/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="bluez cmake libcurl libusb-compat sqlite3"
15 SPLIT="$PACKAGE-dev"
17 compile_rules()
18 {
19 mkdir build
20 cd build
21 cmake .. \
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DBUILD_SHARED_LIBS=ON &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 gammu)
32 copy @std
33 DEPENDS="bluez libcurl libusb-compat sqlite3"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }