diff options
author | Erik Hanson <erik@slackbuilds.org> | 2010-06-23 19:09:52 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-06-29 00:36:35 -0500 |
commit | 4ae497cf2872ebc32b19e81d4193d21146e53acc (patch) | |
tree | 98386241027671cbc3475838f9b811fac75b8c56 /system/gparted/gparted.SlackBuild | |
parent | a4e30f9f3e827cd1b0245e72fcba87cb8d9b1a60 (diff) |
system/gparted: Updated for version 0.6.0.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/gparted/gparted.SlackBuild')
-rw-r--r-- | system/gparted/gparted.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/system/gparted/gparted.SlackBuild b/system/gparted/gparted.SlackBuild index 9b5ea8570f08b..6c9c9dde37517 100644 --- a/system/gparted/gparted.SlackBuild +++ b/system/gparted/gparted.SlackBuild @@ -23,16 +23,14 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gparted -VERSION=0.5.2 +VERSION=0.6.0 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -46,8 +44,10 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" - elif [ "$ARCH" = "x86_64" ]; then +elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" +else + SLKCFLAGS="-O2" fi set -eu @@ -76,10 +76,12 @@ make install-strip DESTDIR=$PKG gzip -9 $PKG/usr/man/man?/*.? -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/install +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL NEWS 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 cat $CWD/doinst.sh > $PKG/install/doinst.sh |