[Frugalware-git] frugalware-current: gnokii-0.6.20-2-i686

Miklos Vajna vmiklos at frugalware.org
Mon Nov 5 13:36:04 CET 2007


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

commit 5395bc6524f31338a26ac800af523232c3b4ff0c
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Sun Nov 4 23:17:23 2007 +0100

gnokii-0.6.20-2-i686
- moved back to xapps, kdepim needs it
- split mysql and postgresql backends

diff --git a/source/xapps-extra/gnokii/FrugalBuild b/source/xapps-extra/gnokii/FrugalBuild
deleted file mode 100644
index 25282b4..0000000
--- a/source/xapps-extra/gnokii/FrugalBuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Compiling Time: 0.49 SBU
-# Maintainer: VMiklos <vmiklos at frugalware.org>
-
-pkgname=gnokii
-pkgver=0.6.20
-pkgrel=1
-pkgdesc="Tools and user space driver for use with mobile phones"
-url="http://www.gnokii.org/"
-backup=(etc/gnokiirc)
-depends=('bluez-libs' 'libmysqlclient' 'libpq' 'gtk+2' 'libxdamage')
-makedepends=('postgresql' 'mysql')
-groups=('xapps-extra')
-archs=('i686' 'x86_64')
-up2date="lynx -dump $url/download/gnokii/ | grep ]gnokii | sed -n -e 's/.*gnokii-\(.*\)\.tar\.bz2.*/\1/' -e '1 p'"
-source=(http://gnokii.org/download/gnokii/gnokii-$pkgver.tar.bz2)
-sha1sums=('6c51477d7e1358020ff52274f78a6dc595429d22')
-
-build()
-{
-	unset MAKEFLAGS
-	Fmake --enable-security
-	Fmakeinstall
-	cd smsd
-	Fmake libfile.la
-	Fmakeinstall
-	cd ..
-	Fsed '/usr/local' "$Fprefix" Docs/sample/gnokiirc
-	Ffilerel Docs/sample/gnokiirc /etc/gnokiirc
-	Ffilerel Docs/sample/logo/gnokii.xpm /usr/share/pixmaps/xgnokii.xpm
-	cd Docs
-	Fmakeinstall
-	Fmv /usr/share/doc/$pkgname /usr/share/doc/$pkgname-$pkgver
-}
-
-# optimization OK
diff --git a/source/xapps/gnokii/FrugalBuild b/source/xapps/gnokii/FrugalBuild
new file mode 100644
index 0000000..441409f
--- /dev/null
+++ b/source/xapps/gnokii/FrugalBuild
@@ -0,0 +1,44 @@
+# Compiling Time: 0.49 SBU
+# Maintainer: VMiklos <vmiklos at frugalware.org>
+
+pkgname=gnokii
+pkgver=0.6.20
+pkgrel=2
+pkgdesc="Tools and user space driver for use with mobile phones"
+url="http://www.gnokii.org/"
+backup=(etc/gnokiirc)
+depends=('bluez-libs' 'gtk+2' 'libxdamage')
+makedepends=('postgresql' 'mysql')
+groups=('xapps')
+archs=('i686' 'x86_64')
+up2date="lynx -dump $url/download/gnokii/ | grep ]gnokii | sed -n -e 's/.*gnokii-\(.*\)\.tar\.bz2.*/\1/' -e '1 p'"
+source=(http://gnokii.org/download/gnokii/gnokii-$pkgver.tar.bz2)
+sha1sums=('6c51477d7e1358020ff52274f78a6dc595429d22')
+
+subpkgs=($pkgname-{mysql,pq})
+subdescs=('MySQL support for gnokii.' 'PostgreSQL support for gnokii.')
+subdepends=("$pkgname=$pkgver glib2 libmysqlclient" "$pkgname=$pkgver glib2 libpq")
+subgroups=('xapps-extra' 'xapps-extra')
+subarchs=('i686 x86_64' 'i686 x86_64')
+
+build()
+{
+	unset MAKEFLAGS
+	Fmake --enable-security
+	Fmakeinstall
+	cd smsd
+	Fmake libfile.la
+	Fmakeinstall
+	cd ..
+	Fsed '/usr/local' "$Fprefix" Docs/sample/gnokiirc
+	Ffilerel Docs/sample/gnokiirc /etc/gnokiirc
+	Ffilerel Docs/sample/logo/gnokii.xpm /usr/share/pixmaps/xgnokii.xpm
+	cd Docs
+	Fmakeinstall
+	Fmv /usr/share/doc/$pkgname /usr/share/doc/$pkgname-$pkgver
+
+	Fsplit $pkgname-mysql usr/lib/smsd/libmysql*
+	Fsplit $pkgname-pq usr/lib/smsd/libpq*
+}
+
+# optimization OK


More information about the Frugalware-git mailing list