blob: 137326ec968ffd95fce1b6a3304692c0d836fe64 (
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, mysqlclient, libical, libusb
# Run on: xorg-libxpm,libpostgresql,p5-xml-parser,gtk,mysqlclient,libical,libusb
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
}
|