Browse Source

ap/fakeroot: Upgraded to fakeroot-1.13.

slackware-14.2
Damien Goutte-Gattat 12 years ago
parent
commit
760fae4660
  1. 26
      ap/fakeroot/fakeroot.SlackBuild
  2. 1
      ap/fakeroot/fakeroot_1.13.tar.gz.sha1
  3. 1
      ap/fakeroot/fakeroot_1.9.5.tar.gz.sha1

26
ap/fakeroot/fakeroot.SlackBuild

@ -25,14 +25,15 @@
# Source package infos
NAMESRC=${NAMESRC:-fakeroot}
VERSION=${VERSION:-1.9.5}
VERSION=${VERSION:-1.13}
ARCHIVE=${ARCHIVE:-${NAMESRC}_$VERSION.tar.gz}
WGET=${WGET:-http://ftp.debian.org/debian/pool/main/f/fakeroot/$ARCHIVE}
# Built package infos
# Build infos
NAMEPKG=${NAMEPKG:-fakeroot}
BUILD=${BUILD:-1GGD}
ARCH=${ARCH:-i486}
JOBS=${JOBS:-1}
EXT=${EXT:-txz}
# Directories
@ -57,7 +58,7 @@ fi
LIBDIRSUFFIX=""
case "$ARCH" in
i?86)
CPUOPT="-O2 -march=i386 -mtune=i686"
CPUOPT="-O2 -march=$ARCH -mtune=i686"
;;
x86_64)
CPUOPT="-O2"
@ -70,10 +71,11 @@ esac
# Get and verify the source archive
if [ ! -r $ARCHIVE ]; then
wget "$WGET"
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
NAME=$(tar ft $ARCHIVE | head -1 | cut -d / -f 1)
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
cd $TMP
@ -88,16 +90,11 @@ CXXFLAGS=$CPUOPT \
--libdir=/usr/lib$LIBDIRSUFFIX \
--disable-static \
--disable-dependency-tracking
make -j 3
make install DESTDIR=$PKG
# Strip binaries
find $PKG | xargs file | grep "ELF \(32\|64\)-bit LSB" | cut -d : -f 1 | \
xargs strip --strip-unneeded 2> /dev/null
make -j ${JOBS}
make install-strip DESTDIR=$PKG
# Compress man and info pages
find `find $PKG -type d -name man -o -name info` -type f | \
xargs gzip -9 2> /dev/null
find $PKG/usr/man -type f -exec gzip -9 {} \;
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
@ -106,8 +103,7 @@ install -m 644 \
$PKG/usr/doc/$NAME
# Copy slack-desc file
mkdir -p $PKG/install
install -m 644 $CWD/slack-desc $PKG/install/slack-desc
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Package the tree
cd $PKG

1
ap/fakeroot/fakeroot_1.13.tar.gz.sha1

@ -0,0 +1 @@
49d9ee41e6a30af36ad42bc214b70c683b82e212 fakeroot_1.13.tar.gz

1
ap/fakeroot/fakeroot_1.9.5.tar.gz.sha1

@ -1 +0,0 @@
4573c14f44f35f5c07ee4226e142ec2a8e79298e fakeroot_1.9.5.tar.gz
Loading…
Cancel
Save