summaryrefslogtreecommitdiff
path: root/system/zisofs-tools
diff options
context:
space:
mode:
authorRobby Workman <rw@rlworkman.net>2010-05-13 00:42:40 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:42:40 +0200
commit4c8473ac5a945bc15198eeb50f7f0d00d9913d03 (patch)
tree2236f906f48ce948aa09e99f88b8c44927ca9e48 /system/zisofs-tools
parent87677a3e17c61304aafab418e7c0c6449a5620dd (diff)
downloadslackbuilds-4c8473ac5a945bc15198eeb50f7f0d00d9913d03.tar.gz
system/zisofs-tools: Updated for version 1.0.8
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 6193d912f1..74506b3307 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 383ef44db7..b117cd24c7 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"