summaryrefslogtreecommitdiffstats
path: root/kde/gnokii/Pkgfile
blob: d071c5dccfca79401834dcfd75ad64f484dc6b8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Description: Outils pour l'usage des téléphones portable dans kdepim
# URL: http://www.gnokii.org/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: xorg-libxpm, libpostgresql, p5-xml-parser, gtk, glib, mysqlclient, libical, libusb
# Run on:

name=gnokii
version=0.6.29
release=2
source=(http://www.gnokii.org/download/$name/$name-$version.tar.bz2 \
	http://nutyx.meticul.eu/files/patchs/$name/gnokii.patch)

build() {
	cd $name-*
	sed -i 's|cellphone|phone|' xgnokii/xgnokii.desktop.in
	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

}