wok-current 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 0f70dc971723
children 6a0bb22dcc73
files gammu-dev/receipt gammu/receipt
line diff
     1.1 --- a/gammu-dev/receipt	Mon Sep 23 20:39:22 2013 +0000
     1.2 +++ b/gammu-dev/receipt	Mon Sep 23 21:06:53 2013 +0000
     1.3 @@ -5,16 +5,18 @@
     1.4  CATEGORY="system-tools"
     1.5  SHORT_DESC="Gammu devel files"
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="gammu"
     1.8 +LICENSE="GPL2"
     1.9  WANTED="gammu"
    1.10  WEB_SITE="http://wammu.eu/gammu/"
    1.11  
    1.12 +DEPENDS="gammu"
    1.13 +
    1.14  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.15  genpkg_rules()
    1.16  {
    1.17  	mkdir -p $fs/usr/lib $fs/usr/bin
    1.18 -	cp -a $_pkg/usr/bin/gammu-config $fs/usr/bin
    1.19 -	#cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.20 -	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.21 -	cp -a $_pkg/usr/include $fs/usr
    1.22 +	cp -a $install/usr/bin/gammu-config $fs/usr/bin
    1.23 +	#cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.24 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.25 +	cp -a $install/usr/include $fs/usr
    1.26  }
     2.1 --- a/gammu/receipt	Mon Sep 23 20:39:22 2013 +0000
     2.2 +++ b/gammu/receipt	Mon Sep 23 21:06:53 2013 +0000
     2.3 @@ -5,12 +5,14 @@
     2.4  CATEGORY="system-tools"
     2.5  SHORT_DESC="Library and utility to control cell phone"
     2.6  MAINTAINER="pankso@slitaz.org"
     2.7 -DEPENDS="bluez sqlite libusb-compat libcurl"
     2.8 -BUILD_DEPENDS="$DEPENDS cmake"
     2.9 +LICENSE="GPL2"
    2.10  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.11  WEB_SITE="http://wammu.eu/gammu/"
    2.12  WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL"
    2.13  
    2.14 +DEPENDS="bluez sqlite libusb-compat libcurl"
    2.15 +BUILD_DEPENDS="$DEPENDS cmake"
    2.16 +
    2.17  # Rules to configure and make the package.
    2.18  compile_rules()
    2.19  {
    2.20 @@ -18,16 +20,16 @@
    2.21  	mkdir -p build && cd build
    2.22  	cmake \
    2.23  		-DCMAKE_INSTALL_PREFIX=/usr \
    2.24 -		-DBUILD_SHARED_LIBS=ON .. &&
    2.25 +		-DBUILD_SHARED_LIBS=ON .. | grep -v _WERROR &&
    2.26  	make &&
    2.27 -	make DESTDIR=$src/_pkg install
    2.28 +	make DESTDIR=$DESTDIR install
    2.29  }
    2.30  
    2.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.32  genpkg_rules()
    2.33  {
    2.34  	mkdir -p $fs/usr/lib
    2.35 -	cp -a $_pkg/usr/bin $fs/usr
    2.36 +	cp -a $install/usr/bin $fs/usr
    2.37  	rm $fs/usr/bin/gammu-config
    2.38 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.39 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.40  }