summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2016-07-17 02:41:18 +0200
committer Willy Sudiarto Raharjo2016-07-17 02:48:56 +0200
commitd6ca788bc6e2c07117ed9306ea49c43dd40622a3 (patch)
treeb032f1195ecd560b60911bf70c59b6d67a568dad
parentb5562a7e5d4f676035aec7e80371f40138e73771 (diff)
downloadslackbuilds-d6ca788bc6e2c07117ed9306ea49c43dd40622a3.tar.gz
system/fakeroot: Updated for version 1.21.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--system/fakeroot/fakeroot.SlackBuild31
-rw-r--r--system/fakeroot/fakeroot.info8
2 files changed, 21 insertions, 18 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
diff --git a/system/fakeroot/fakeroot.info b/system/fakeroot/fakeroot.info
index feb95b04a9..0e411b3e8a 100644
--- a/system/fakeroot/fakeroot.info
+++ b/system/fakeroot/fakeroot.info
@@ -1,10 +1,10 @@
PRGNAM="fakeroot"
-VERSION="1.12.4"
+VERSION="1.21"
HOMEPAGE="http://packages.debian.org/fakeroot"
-DOWNLOAD="http://slackbuilds.org/sources/13.0/fakeroot_1.12.4.tar.gz"
-MD5SUM="aaefede2405a40c87438e7e833d69b70"
+DOWNLOAD="http://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.21.orig.tar.gz"
+MD5SUM="be5c9a0e516869fca4a6758105968e5a"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="po4a"
MAINTAINER="fdeak"
EMAIL="ferenc.deak@gmail.com"