diff options
Diffstat (limited to 'graphics/geeqie/geeqie.SlackBuild')
-rw-r--r-- | graphics/geeqie/geeqie.SlackBuild | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/graphics/geeqie/geeqie.SlackBuild b/graphics/geeqie/geeqie.SlackBuild index e48f576f21192..69ee0527516a0 100644 --- a/graphics/geeqie/geeqie.SlackBuild +++ b/graphics/geeqie/geeqie.SlackBuild @@ -4,10 +4,10 @@ # a light-weight image viewer # Written by Niels Horn <niels.horn@gmail.com> -# revision date: 2009/12/30 +# revision date: 2010/03/06 PRGNAM=geeqie -VERSION=${VERSION:-1.0beta2} +VERSION=${VERSION:-1.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -20,12 +20,19 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" + ARCHQUADLET="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" LIBDIRSUFFIX="" + ARCHQUADLET="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" + ARCHQUADLET="" +elif [ "$ARCH" = "arm" ]; then + SLKCFLAGS="-O2 -march=armv4t" + LIBDIRSUFFIX="" + ARCHQUADLET="-gnueabi" fi set -e @@ -53,7 +60,7 @@ CFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --with-readmedir=/usr/doc/$PRGNAM-$VERSION \ --with-htmldir=/usr/doc/$PRGNAM-$VERSION/html \ - --build=$ARCH-slackware-linux + --build=$ARCH-slackware-linux$ARCHQUADLET make make install DESTDIR=$PKG |