diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-17 07:41:18 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-07-17 07:48:56 +0700 |
commit | d6ca788bc6e2c07117ed9306ea49c43dd40622a3 (patch) | |
tree | b032f1195ecd560b60911bf70c59b6d67a568dad /system/fakeroot/fakeroot.SlackBuild | |
parent | b5562a7e5d4f676035aec7e80371f40138e73771 (diff) | |
download | slackbuilds-d6ca788bc6e2c07117ed9306ea49c43dd40622a3.tar.gz |
system/fakeroot: Updated for version 1.21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/fakeroot/fakeroot.SlackBuild')
-rw-r--r-- | system/fakeroot/fakeroot.SlackBuild | 31 |
1 files changed, 17 insertions, 14 deletions
diff --git a/system/fakeroot/fakeroot.SlackBuild b/system/fakeroot/fakeroot.SlackBuild index 9a06e905cf..bb37dae4cb 100644 --- a/system/fakeroot/fakeroot.SlackBuild +++ b/system/fakeroot/fakeroot.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=fakeroot -VERSION=1.12.4 +VERSION=${VERSION:-1.21} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,15 +60,16 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xzf $CWD/${PRGNAM}_$VERSION.tar.gz +tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.gz 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 {} \; +./bootstrap CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -78,23 +79,25 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ + --with-ipc=sysv \ --build=$ARCH-slackware-linux make + +cd doc +po4a -k 0 --rm-backups --variable "srcdir=../doc/" po4a/po4a.cfg +cd .. make DESTDIR=$PKG install -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -( cd $PKG/usr/man || exit 1 - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 BUGS COPYING DEBUG INSTALL README doc/README.* debian/changelog \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS BUGS COPYING DEBUG INSTALL README doc/README.* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |