aboutsummaryrefslogtreecommitdiff
path: root/system/zisofs-tools
diff options
context:
space:
mode:
Diffstat (limited to 'system/zisofs-tools')
-rw-r--r--system/zisofs-tools/zisofs-tools.SlackBuild20
-rw-r--r--system/zisofs-tools/zisofs-tools.info2
2 files changed, 17 insertions, 5 deletions
diff --git a/system/zisofs-tools/zisofs-tools.SlackBuild b/system/zisofs-tools/zisofs-tools.SlackBuild
index 6193d912f1d09..74506b330743c 100644
--- a/system/zisofs-tools/zisofs-tools.SlackBuild
+++ b/system/zisofs-tools/zisofs-tools.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for zisofs-tools
-# Copyright 2006-2008 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2009 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -35,8 +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
@@ -53,6 +58,7 @@ chmod -R a-s,u+w,go+r-w .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--build=$ARCH-slackware-linux
@@ -60,8 +66,10 @@ make
make INSTALLROOT=$PKG install
( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
- 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
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
+ xargs strip --strip-unneeded 2> /dev/null
)
( cd $PKG/usr/man
@@ -70,11 +78,13 @@ make INSTALLROOT=$PKG install
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a CHANGES COPYING INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGES COPYING INSTALL README \
+ $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/zisofs-tools/zisofs-tools.info b/system/zisofs-tools/zisofs-tools.info
index 383ef44db7fb3..b117cd24c7e4a 100644
--- a/system/zisofs-tools/zisofs-tools.info
+++ b/system/zisofs-tools/zisofs-tools.info
@@ -2,7 +2,9 @@ PRGNAM="zisofs-tools"
VERSION="1.0.8"
HOMEPAGE="http://www.kernel.org/pub/linux/utils/fs/zisofs/"
DOWNLOAD="http://www.kernel.org/pub/linux/utils/fs/zisofs/zisofs-tools-1.0.8.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="2d0ed8c9a1f60b45f949b136f9be1f6c"
+MD5SUM_x86_64=""
MAINTAINER="Robby Workman"
EMAIL="rw@rlworkman.net"
APPROVED="dsomero"