diff options
author | Martin Lefebvre <dadexter@gmail.com> | 2010-05-13 00:38:25 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:38:25 +0200 |
commit | e5dbcd5767b0e622b855ff0c90f416bf0dfa23d6 (patch) | |
tree | 8468a832a8127391a3b1bc2328f640dc90e2e13b /network | |
parent | 74355de7789b5d5587c6ce30b33ad3b0d2d6af58 (diff) |
network/surfraw: Updated for version 1.0.7
Diffstat (limited to 'network')
-rw-r--r-- | network/surfraw/doinst.sh | 1 | ||||
-rw-r--r-- | network/surfraw/surfraw.SlackBuild | 16 | ||||
-rw-r--r-- | network/surfraw/surfraw.info | 2 |
3 files changed, 14 insertions, 5 deletions
diff --git a/network/surfraw/doinst.sh b/network/surfraw/doinst.sh index 28a8207c28e6..929af441967e 100644 --- a/network/surfraw/doinst.sh +++ b/network/surfraw/doinst.sh @@ -1,4 +1,3 @@ - config() { NEW="$1" OLD="`dirname $NEW`/`basename $NEW .new`" diff --git a/network/surfraw/surfraw.SlackBuild b/network/surfraw/surfraw.SlackBuild index 0d513724cd7a..91f2f55b7d70 100644 --- a/network/surfraw/surfraw.SlackBuild +++ b/network/surfraw/surfraw.SlackBuild @@ -24,13 +24,12 @@ # Modified by the SlackBuilds.org project -set -e - PRGNAM=surfraw VERSION=1.0.7 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -38,10 +37,17 @@ 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 + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -55,10 +61,12 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --infodir=/usr/info + --infodir=/usr/info \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG @@ -79,4 +87,4 @@ for file in $PKG/etc/*; do done 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/network/surfraw/surfraw.info b/network/surfraw/surfraw.info index d84cd2d88bf6..fbbc34555ec7 100644 --- a/network/surfraw/surfraw.info +++ b/network/surfraw/surfraw.info @@ -2,7 +2,9 @@ PRGNAM="surfraw" VERSION="1.0.7" HOMEPAGE="http://surfraw.sf.net" DOWNLOAD="ftp://ftp.netbsd.org/pub/NetBSD/misc/proff/surfraw-1.0.7.tar.gz" +DOWNLOAD_x86_64="" MD5SUM="0957382bbdebf3d678879fa5d2592c9d" +MD5SUM_x86_64="" MAINTAINER="Martin Lefebvre" EMAIL="dadexter@gmail.com" APPROVED="rworkman" |