From 4ae497cf2872ebc32b19e81d4193d21146e53acc Mon Sep 17 00:00:00 2001 From: Erik Hanson Date: Wed, 23 Jun 2010 19:09:52 -0500 Subject: [PATCH] system/gparted: Updated for version 0.6.0. Signed-off-by: Robby Workman --- system/gparted/README | 11 +++++------ system/gparted/gparted.SlackBuild | 12 +++++++----- system/gparted/gparted.info | 8 ++++---- 3 files changed, 16 insertions(+), 15 deletions(-) diff --git a/system/gparted/README b/system/gparted/README index 0a534a7910..ef60c19e19 100644 --- a/system/gparted/README +++ b/system/gparted/README @@ -1,8 +1,7 @@ -GParted uses GNU libparted to detect and manipulate devices and -partition tables. Several (optional) "file system" tools provide -support for file systems not included in libparted. These optional -packages will be detected at runtime and do not require a rebuild -of GParted. GParted is written in C++ and uses gtkmm for it's -Graphical User Interface (GUI). +GParted uses GNU libparted to detect and manipulate devices and partition +tables. Several (optional) "file system" tools provide support for file +systems not included in libparted. These optional packages will be detected +at runtime and do not require a rebuild of GParted. GParted is written in +C++ and uses gtkmm for it's Graphical User Interface (GUI). This requires gtkmm. diff --git a/system/gparted/gparted.SlackBuild b/system/gparted/gparted.SlackBuild index 9b5ea8570f..6c9c9dde37 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 diff --git a/system/gparted/gparted.info b/system/gparted/gparted.info index 7a8b419c07..e4a7b68bfd 100644 --- a/system/gparted/gparted.info +++ b/system/gparted/gparted.info @@ -1,10 +1,10 @@ PRGNAM="gparted" -VERSION="0.5.2" +VERSION="0.6.0" HOMEPAGE="http://gparted.sourceforge.net/" -DOWNLOAD="http://downloads.sourceforge.net/gparted/gparted-0.5.2.tar.bz2" -MD5SUM="9020d112fa239ef1b58ed34bbad254c2" +DOWNLOAD="http://downloads.sourceforge.net/gparted/gparted-0.6.0.tar.bz2" +MD5SUM="8fe36e1d220b6f550df5e9221465eba1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Erik Hanson" EMAIL="erik@slackbuilds.org" -APPROVED="pprkut" +APPROVED="rworkman"