summaryrefslogtreecommitdiffstats
path: root/kde/gnokii/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel at free dot fr>2010-08-13 06:41:19 +0200
committersibel <lesibel at free dot fr>2010-08-13 06:41:19 +0200
commit4ea67f5036c1ef463d7f8f62f226dd35e692869a (patch)
tree1b3d8ca7840b003ab061c73e4b80a4c86a6567af /kde/gnokii/Pkgfile
parenta4c154993f0490da2fa7f8af9b7243f2c28b9bdd (diff)
downloadnutyx-extra-4ea67f5036c1ef463d7f8f62f226dd35e692869a.tar.gz
nutyx-extra-4ea67f5036c1ef463d7f8f62f226dd35e692869a.tar.bz2
nutyx-extra-4ea67f5036c1ef463d7f8f62f226dd35e692869a.tar.xz
nutyx-extra-4ea67f5036c1ef463d7f8f62f226dd35e692869a.zip
maj de gnokii#0.6.29-2
Diffstat (limited to 'kde/gnokii/Pkgfile')
-rwxr-xr-xkde/gnokii/Pkgfile21
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
}