wok-current diff gammu/receipt @ rev 15255

gammu: remove wrong error trigger
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 21:06:53 2013 +0000 (2013-09-23)
parents 7ba9895e1216
children dead8955c3ca
line diff
     1.1 --- a/gammu/receipt	Sat Mar 26 19:54:02 2011 +0100
     1.2 +++ b/gammu/receipt	Mon Sep 23 21:06:53 2013 +0000
     1.3 @@ -5,12 +5,14 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Library and utility to control cell phone"
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="bluez sqlite libusb-compat libcurl"
     1.8 -BUILD_DEPENDS="$DEPENDS cmake"
     1.9 +LICENSE="GPL2"
    1.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.11  WEB_SITE="http://wammu.eu/gammu/"
    1.12  WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    1.13  
    1.14 +DEPENDS="bluez sqlite libusb-compat libcurl"
    1.15 +BUILD_DEPENDS="$DEPENDS cmake"
    1.16 +
    1.17  # Rules to configure and make the package.
    1.18  compile_rules()
    1.19  {
    1.20 @@ -18,16 +20,16 @@
    1.21  	mkdir -p build && cd build
    1.22  	cmake \
    1.23  		-DCMAKE_INSTALL_PREFIX=/usr \
    1.24 -		-DBUILD_SHARED_LIBS=ON .. &&
    1.25 +		-DBUILD_SHARED_LIBS=ON .. | grep -v _WERROR &&
    1.26  	make &&
    1.27 -	make DESTDIR=$src/_pkg install
    1.28 +	make DESTDIR=$DESTDIR install
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34  	mkdir -p $fs/usr/lib
    1.35 -	cp -a $_pkg/usr/bin $fs/usr
    1.36 +	cp -a $install/usr/bin $fs/usr
    1.37  	rm $fs/usr/bin/gammu-config
    1.38 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    1.39 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.40  }