diff options
author | Mikko Varri <vmj@linuxbox.fi> | 2010-05-13 00:30:28 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-13 00:30:28 +0200 |
commit | 39e46e29d7f78232d4a4a47abc29200b153d192d (patch) | |
tree | cd220ef69e949c98a1a42e968ff3f4412928c4f4 /libraries/libedit/libedit.SlackBuild | |
parent | 31e10d45a1cf24f9dd51f0fad60194ccd59d960e (diff) |
libraries/libedit: Updated for version 20090923_3.0
Diffstat (limited to 'libraries/libedit/libedit.SlackBuild')
-rw-r--r-- | libraries/libedit/libedit.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libraries/libedit/libedit.SlackBuild b/libraries/libedit/libedit.SlackBuild index 1842b082ea6fe..ae14011db58b0 100644 --- a/libraries/libedit/libedit.SlackBuild +++ b/libraries/libedit/libedit.SlackBuild @@ -6,7 +6,7 @@ # Public domain. PRGNAM=libedit -VERSION=${VERSION:-20090111_3.0} +VERSION=${VERSION:-20090923_3.0} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -20,10 +20,13 @@ SRC_VERSION=$(echo $VERSION | tr _ -) 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 @@ -45,6 +48,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --disable-static \ --build=$ARCH-slackware-linux @@ -65,4 +69,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc 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} |