wok-4.x view gammu/receipt @ rev 11730
tintin: don't use extension in desktop files
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Tue Feb 21 09:02:38 2012 -0800 (2012-02-21) |
parents | aa6cc75ded47 |
children |
line source
1 # SliTaz package receipt.
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 DEPENDS="bluez sqlite libusb-compat libcurl"
9 BUILD_DEPENDS="$DEPENDS cmake"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://wammu.eu/gammu/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 mkdir -p build && cd build
19 cmake \
20 -DCMAKE_INSTALL_PREFIX=/usr \
21 -DBUILD_SHARED_LIBS=ON .. &&
22 make &&
23 make DESTDIR=$src/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/bin $fs/usr
31 rm $fs/usr/bin/gammu-config
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 }