diff options
author | Chris Abela <chris.abela@maltats.com> | 2010-05-13 00:40:08 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:40:08 +0200 |
commit | 8c0795fb705849702bc7dea3acc8fbb2ae55f300 (patch) | |
tree | 2e050b6cb467101a0bda210c2ccdc1eba9121a41 /system/dump/dump.SlackBuild | |
parent | e73fc19d79ca7556184281161c501fc234200aea (diff) |
system/dump: Updated for version 0.4b42
Diffstat (limited to 'system/dump/dump.SlackBuild')
-rw-r--r-- | system/dump/dump.SlackBuild | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/system/dump/dump.SlackBuild b/system/dump/dump.SlackBuild index 79c0fa21dd7f2..de3076926da74 100644 --- a/system/dump/dump.SlackBuild +++ b/system/dump/dump.SlackBuild @@ -3,10 +3,10 @@ # Slackware build script for dump # Written by Chris Abela <chris.abela@maltats.com> -# November 2008 +# July 2009 PRGNAM=dump -VERSION=${VERSION:-0.4b41} +VERSION=${VERSION:-0.4b42} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -18,10 +18,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 - SLKFLAGS="-O2 -fPIC" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -39,16 +42,24 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# rmt is available on Slack's tar package, so I am disabling it. +# The fully qualified mandir is necessary. CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --mandir=/usr/man \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=$PKG/usr/man \ --with-binowner=root \ --with-bingrp=root \ --with-manowner=root \ - --with-mangrp=root + --with-mangrp=root \ + --enable-rmt=no \ + --enable-transselinux=no + +# This is needed as we do not have SELinux +sed -i 's/ -lselinux -lsepol//' configure.in make make prefix=$PKG/usr install @@ -66,8 +77,9 @@ make prefix=$PKG/usr install ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES COPYRIGHT INSTALL KNOWNBUGS MAINTAINERS README REPORTING-BUGS \ - THANKS TODO examples $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + CHANGES COPYRIGHT INSTALL *BUGS MAINTAINERS README THANKS TODO examples \ + $PKG/usr/doc/$PRGNAM-$VERSION find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 644 {} \; cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.Slackbuild @@ -75,4 +87,4 @@ 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} |