diff options
Diffstat (limited to 'network/gtk-gnutella/gtk-gnutella.SlackBuild')
-rw-r--r-- | network/gtk-gnutella/gtk-gnutella.SlackBuild | 16 |
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 |