wok-next view gammu/receipt @ rev 20854
Add xa, libicns; up vice (3.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jun 26 14:16:09 2018 +0300 (2018-06-26) |
parents | 2809ecb8c754 |
children | d2950281f122 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gammu"
4 VERSION="1.27.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Library and utility to control cell phone"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://wammu.eu/gammu/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 BUILD_DEPENDS="bluez sqlite3 libusb-compat libcurl cmake"
15 SPLIT="gammu-dev"
17 compile_rules() {
18 mkdir -p build && cd build
19 cmake \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DBUILD_SHARED_LIBS=ON .. &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 gammu)
29 mkdir -p $fs/usr/lib
30 cp -a $install/usr/bin $fs/usr
31 rm $fs/usr/bin/gammu-config
32 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 DEPENDS="bluez sqlite3 libusb-compat libcurl"
34 ;;
35 *-dev)
36 mkdir -p $fs/usr/lib $fs/usr/bin
37 cp -a $install/usr/bin/gammu-config $fs/usr/bin
38 #cp -a $install/usr/lib/*.*a $fs/usr/lib
39 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
40 cp -a $install/usr/include $fs/usr
41 ;;
42 esac
43 }