[Frugalware-git] frugalware-current: gammu-1.24.90-1-i686 *version bump

bouleetbil bouleetbil at frogdev.info
Tue May 26 21:06:16 CEST 2009


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1788e56a8927b80f13e4b55b56b0415005e88a75

commit 1788e56a8927b80f13e4b55b56b0415005e88a75
Author: bouleetbil <bouleetbil at frogdev.info>
Date:   Tue May 26 20:59:57 2009 +0200

gammu-1.24.90-1-i686
*version bump

diff --git a/source/apps-extra/gammu/FrugalBuild b/source/apps-extra/gammu/FrugalBuild
index 1a0cb53..52d5cfd 100644
--- a/source/apps-extra/gammu/FrugalBuild
+++ b/source/apps-extra/gammu/FrugalBuild
@@ -2,8 +2,8 @@
# Maintainer: Christian Hamar alias krix <krics at linuxforum.hu>

pkgname=gammu
-pkgver=1.21.90
-pkgrel=2
+pkgver=1.24.90
+pkgrel=1
pkgdesc="Mobile phones tools for Unix (Linux)"
url="http://www.gammu.org/wiki/index.php?title=Gammu:Main_Page"
backup=(etc/gammu/gammurc)
@@ -13,15 +13,20 @@ groups=('apps-extra')
archs=('x86_64' 'i686')
up2date="Flasttar http://dl.cihar.com/gammu/releases/"
source=(http://dl.cihar.com/gammu/releases/$pkgname-$pkgver.tar.bz2 \
-	gammurc-path-fix.patch README.Frugalware)
-sha1sums=('257b2dc90ba5c203b5ea6b247b120544fa7dc987' \
-          '5d653b781e3d60595052ef88de115b29af8271a4' \
+	README.Frugalware)
+sha1sums=('cc05c0af67fe533984d1ff7e27fd561bd7aac793' \
'f9908ebbf95e95bbfe4298e10aa93fa84cf2cf6f')

# NOTE: check new releases about cmake bug in gammu.
# dont use make install DESTDIR=** things. Use the right cmake way if they fixed
# it. -krix-

+Finclude python
+subpkgs=("python-gammu")
+subdescs=('Python bingings for Gammu library.')
+subdepends=("$pkgname=$pkgver python>=2.6")
+subgroups=('devel-extra')
+subarchs=('i686 x86_64')
build()
{
if [ "$CARCH" == "x86_64" ] ; then
@@ -29,8 +34,6 @@ build()
CXXFLAGS="$CXXFLAGS -fPIC"
fi
Fcd
-	# Fix for config file. Put that config file into /etc/gammu/
-	Fpatch gammurc-path-fix.patch
mkdir build || Fdie
cd build || Fdie
cmake .. \
@@ -52,13 +55,13 @@ build()
-DCMAKE_C_FLAGS_RELEASE='-DNDEBUG'
make VERBOSE=1 || Fdie
make install DESTDIR=$Fdestdir || Fdie
-	# Fixup for .so :P
-	chmod +x $Fdestdir/usr/lib/*.so || Fdie
# Install sample config file under /etc/gammu/gammurc
Fmkdir etc/gammu
cp -a $Fdestdir/usr/share/doc/$pkgname-$pkgver/examples/config/gammurc \
$Fdestdir/etc/gammu/
Fdoc README.Frugalware
+	# python bindings
+	Fsplit python-gammu  $_F_python_libdir
}

# optimization OK


More information about the Frugalware-git mailing list