diff options
author | Robby Workman <rw@rlworkman.net> | 2010-05-12 17:40:06 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-12 17:40:06 +0200 |
commit | a6b2dba25f76cd5be09fd5f1d74dba0915074601 (patch) | |
tree | 804d307136ee96bba7d0c2929b8a986b4109773a /graphics/ristretto/ristretto.SlackBuild | |
parent | 2d4068a804ea3ae84cf86f460c86c1042b722c83 (diff) | |
download | slackbuilds-a6b2dba25f76cd5be09fd5f1d74dba0915074601.tar.gz |
graphics/ristretto: Updated for version 0.0.22
Diffstat (limited to 'graphics/ristretto/ristretto.SlackBuild')
-rw-r--r-- | graphics/ristretto/ristretto.SlackBuild | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/graphics/ristretto/ristretto.SlackBuild b/graphics/ristretto/ristretto.SlackBuild index 1836974f13..eb9cf3d85a 100644 --- a/graphics/ristretto/ristretto.SlackBuild +++ b/graphics/ristretto/ristretto.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=ristretto -VERSION=0.0.16 +VERSION=0.0.22 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -33,16 +33,18 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -59,14 +61,18 @@ chmod -R u+w,go+r-w,a-s . CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --docdir=/usr/doc/$PRGNAM-$VERSION + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --docdir=/usr/doc/$PRGNAM-$VERSION \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG strip --strip-unneeded $PKG/usr/bin/ristretto mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild chmod 644 $PKG/usr/doc/$PRGNAM-$VERSION/* |