From 4571375db7cc0c7842de76ea0ca4ab018ee6ecd2 Mon Sep 17 00:00:00 2001 From: fdeak Date: Thu, 13 May 2010 00:40:12 +0200 Subject: system/fakeroot: Updated for version 1.12.4 --- system/fakeroot/fakeroot.SlackBuild | 19 +++++++++++++------ system/fakeroot/fakeroot.info | 8 +++++--- system/fakeroot/slack-desc | 20 ++++++++++---------- 3 files changed, 28 insertions(+), 19 deletions(-) (limited to 'system/fakeroot') diff --git a/system/fakeroot/fakeroot.SlackBuild b/system/fakeroot/fakeroot.SlackBuild index 8b5ed338a0..f53ebc36f2 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.11 +VERSION=1.12.4 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -35,10 +35,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -60,6 +63,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -70,8 +74,10 @@ make make DESTDIR=$PKG install ( cd $PKG - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true - find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null + find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null || true + find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \ + xargs strip --strip-unneeded 2> /dev/null ) ( cd $PKG/usr/man || exit 1 @@ -80,12 +86,13 @@ make DESTDIR=$PKG install ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS BUGS COPYING DEBUG INSTALL README doc/README.saving \ - debian/changelog $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS BUGS COPYING DEBUG INSTALL README doc/README.* debian/changelog \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/fakeroot/fakeroot.info b/system/fakeroot/fakeroot.info index a667970748..ee2946728b 100644 --- a/system/fakeroot/fakeroot.info +++ b/system/fakeroot/fakeroot.info @@ -1,8 +1,10 @@ PRGNAM="fakeroot" -VERSION="1.11" +VERSION="1.12.4" HOMEPAGE="http://packages.debian.org/fakeroot" -DOWNLOAD="http://slackbuilds.org/sources/12.2/fakeroot_1.11.tar.gz" -MD5SUM="b95de26a01338eec7a9b372d0fb24507" +DOWNLOAD="http://slackbuilds.org/sources/13.0/fakeroot_1.12.4.tar.gz" +MD5SUM="aaefede2405a40c87438e7e833d69b70" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="fdeak" EMAIL="ferenc.deak@gmail.com" APPROVED="rworkman" diff --git a/system/fakeroot/slack-desc b/system/fakeroot/slack-desc index 874e23c6a2..48985844ff 100644 --- a/system/fakeroot/slack-desc +++ b/system/fakeroot/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| fakeroot: fakeroot (Gives a fake root environment) -fakeroot: -fakeroot: Fakeroot makes it possible to run commands in an environment -fakeroot: faking root privileges. This is done by setting LD_PRELOAD to -fakeroot: libfakeroot.so, which provides wrappers around getuid, chown, -fakeroot: chmod, mknod, stat, and so on, thereby creating a fake root -fakeroot: environment. -fakeroot: -fakeroot: -fakeroot: -fakeroot: +fakeroot: +fakeroot: Fakeroot makes it possible to run commands in an environment +fakeroot: faking root privileges. This is done by setting LD_PRELOAD +fakeroot: to libfakeroot.so, which provides wrappers around getuid, +fakeroot: chown, chmod, mknod, stat, and so on, thereby creating a fake +fakeroot: root environment. +fakeroot: +fakeroot: +fakeroot: +fakeroot: -- cgit v1.2.3