diff options
Diffstat (limited to 'kde/gnokii/Pkgfile')
-rwxr-xr-x | kde/gnokii/Pkgfile | 21 |
1 files changed, 16 insertions, 5 deletions
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 } |