summaryrefslogtreecommitdiffstats
path: root/gnokii/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'gnokii/Pkgfile')
-rwxr-xr-xgnokii/Pkgfile14
1 files changed, 8 insertions, 6 deletions
diff --git a/gnokii/Pkgfile b/gnokii/Pkgfile
index 17f7c16..d9b0702 100755
--- a/gnokii/Pkgfile
+++ b/gnokii/Pkgfile
@@ -6,21 +6,23 @@
# Run on: xorg-libxpm,libpostgresql,p5-xml-parser,gtk,mysqlclient,libical,libusb,sqlite3
name=gnokii
-version=0.6.30
+version=0.6.31
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
+ --enable-libusb \
+ --disable-unix98test \
+ --with-pic
+ make
+ make -C xgnokii
make DESTDIR=$PKG install
-
+ make DESTDIR=$PKG install -C xgnokii
+
install -Dm644 Docs/sample/gnokiirc $PKG/etc/gnokiirc
sed -i -e 's|/usr/local|/usr|' $PKG/etc/gnokiirc