summaryrefslogtreecommitdiff
path: root/network/gtk-gnutella/gtk-gnutella.SlackBuild
diff options
context:
space:
mode:
authorZbigniew Baniewski <Zbigniew.Baniewski@gmail.com>2014-04-13 23:11:31 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-13 23:11:31 +0700
commit6d85eac3b9375ebde70784c1f1241a4ecb4d8653 (patch)
tree72f57c107a42a9750fa6dc20efcdb8e94fa149d7 /network/gtk-gnutella/gtk-gnutella.SlackBuild
parent7bdbc4ae4755151ad14aba29215a976c7781bf8b (diff)
downloadslackbuilds-6d85eac3b9375ebde70784c1f1241a4ecb4d8653.tar.gz
network/gtk-gnutella: Updated for version 1.0.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/gtk-gnutella/gtk-gnutella.SlackBuild')
-rw-r--r--network/gtk-gnutella/gtk-gnutella.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/network/gtk-gnutella/gtk-gnutella.SlackBuild b/network/gtk-gnutella/gtk-gnutella.SlackBuild
index 7fcddea6ac..ab3ae145b7 100644
--- a/network/gtk-gnutella/gtk-gnutella.SlackBuild
+++ b/network/gtk-gnutella/gtk-gnutella.SlackBuild
@@ -5,7 +5,7 @@
# Written by Zbigniew Baniewski <Zbigniew.Baniewski@gmail.com>
PRGNAM=gtk-gnutella
-VERSION=0.98.4
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -46,15 +46,16 @@ tar jxvf $CWD/${PRGNAM}-${VERSION}.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
./build.sh \
--prefix=/usr \
--mandir=/usr/man \
- --cflags="$SLKCFLAGS"
+ --cflags="$SLKCFLAGS" \
+ --libdir=/usr/lib${LIBDIRSUFFIX}
make install INSTALL_PREFIX=$PKG
# Move man-page manually (seems to be forgotten by the install routine)
@@ -68,8 +69,7 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS GEO_LICENSE MANIFEST README ChangeLog TODO \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS GEO_LICENSE MANIFEST README ChangeLog TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install