From 4ea67f5036c1ef463d7f8f62f226dd35e692869a Mon Sep 17 00:00:00 2001 From: sibel Date: Fri, 13 Aug 2010 06:41:19 +0200 Subject: maj de gnokii#0.6.29-2 --- kde/gnokii/Pkgfile | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) (limited to 'kde/gnokii/Pkgfile') diff --git a/kde/gnokii/Pkgfile b/kde/gnokii/Pkgfile index e02fcf5c1..ab7312682 100755 --- a/kde/gnokii/Pkgfile +++ b/kde/gnokii/Pkgfile @@ -2,20 +2,31 @@ # URL: http://www.gnokii.org/ # Maintainer: NuTyX packager team # Packager: lesibel at free dot fr -# Depends on: p5-xml-parser, gtk, glib, mysqlclient, libical, libusb +# Depends on: xorg-libxpm, libpostgresql, p5-xml-parser, gtk, glib, mysqlclient, libical, libusb name=gnokii version=0.6.29 -release=1 +release=2 source=(http://www.gnokii.org/download/$name/$name-$version.tar.bz2 \ gnokii.patch) build() { cd $name-* sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in - patch -Np1 -i $SRC/gnokii.patch - ./configure --prefix=/usr - make + patch -Np1 -i $SRC/gnokii.patch + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --enable-security \ + --disable-unix98test + + make make DESTDIR=$PKG install + + install -Dm644 Docs/sample/gnokiirc $PKG/etc/gnokiirc + sed -i -e 's:/usr/local:/usr:' $PKG/etc/gnokiirc + + chmod 4755 $PKG/usr/sbin/mgnokiidev + + install -Dm644 Docs/sample/logo/gnokii.xpm $PKG/usr/share/pixmaps/xgnokii.xpm } -- cgit v1.2.3-70-g09d2