summaryrefslogtreecommitdiffstats
path: root/gnokii/Pkgfile
blob: 17f7c16e89e6b39be8544d1023fda5fe5475b334 (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
# Description: Outils pour l'usage des téléphones portable
# URL: http://www.gnokii.org/
# Maintainer: NuTyX packager team
# Packager: lesibel at free dot fr
# Depends on: xorg-libxpm, libpostgresql, p5-xml-parser, gtk, mysqlclient, libical, libusb, sqlite3
# Run on: xorg-libxpm,libpostgresql,p5-xml-parser,gtk,mysqlclient,libical,libusb,sqlite3

name=gnokii
version=0.6.30
release=1
source=(http://www.gnokii.org/download/$name/$name-$version.tar.bz2)

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