# HG changeset patch # User Pascal Bellard # Date 1379970413 0 # Node ID 7326ea8fcc65aacef1c068f3d9c5ee24ac2b68f7 # Parent 0f70dc9717232864e142b47c66b5a9e6a56643b8 gammu: remove wrong error trigger diff -r 0f70dc971723 -r 7326ea8fcc65 gammu-dev/receipt --- a/gammu-dev/receipt Mon Sep 23 20:39:22 2013 +0000 +++ b/gammu-dev/receipt Mon Sep 23 21:06:53 2013 +0000 @@ -5,16 +5,18 @@ CATEGORY="system-tools" SHORT_DESC="Gammu devel files" MAINTAINER="pankso@slitaz.org" -DEPENDS="gammu" +LICENSE="GPL2" WANTED="gammu" WEB_SITE="http://wammu.eu/gammu/" +DEPENDS="gammu" + # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/bin - cp -a $_pkg/usr/bin/gammu-config $fs/usr/bin - #cp -a $_pkg/usr/lib/*.*a $fs/usr/lib - cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib - cp -a $_pkg/usr/include $fs/usr + cp -a $install/usr/bin/gammu-config $fs/usr/bin + #cp -a $install/usr/lib/*.*a $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include $fs/usr } diff -r 0f70dc971723 -r 7326ea8fcc65 gammu/receipt --- a/gammu/receipt Mon Sep 23 20:39:22 2013 +0000 +++ b/gammu/receipt Mon Sep 23 21:06:53 2013 +0000 @@ -5,12 +5,14 @@ CATEGORY="system-tools" SHORT_DESC="Library and utility to control cell phone" MAINTAINER="pankso@slitaz.org" -DEPENDS="bluez sqlite libusb-compat libcurl" -BUILD_DEPENDS="$DEPENDS cmake" +LICENSE="GPL2" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://wammu.eu/gammu/" WGET_URL="$SF_MIRROR/$PACKAGE/$VERSION/$TARBALL" +DEPENDS="bluez sqlite libusb-compat libcurl" +BUILD_DEPENDS="$DEPENDS cmake" + # Rules to configure and make the package. compile_rules() { @@ -18,16 +20,16 @@ mkdir -p build && cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SHARED_LIBS=ON .. && + -DBUILD_SHARED_LIBS=ON .. | grep -v _WERROR && make && - make DESTDIR=$src/_pkg install + make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib - cp -a $_pkg/usr/bin $fs/usr + cp -a $install/usr/bin $fs/usr rm $fs/usr/bin/gammu-config - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib + cp -a $install/usr/lib/*.so* $fs/usr/lib }