From 39e46e29d7f78232d4a4a47abc29200b153d192d Mon Sep 17 00:00:00 2001 From: Mikko Varri Date: Thu, 13 May 2010 00:30:28 +0200 Subject: [PATCH] libraries/libedit: Updated for version 20090923_3.0 --- libraries/libedit/libedit.SlackBuild | 8 ++++++-- libraries/libedit/libedit.info | 11 +++++++---- libraries/libedit/slack-desc | 8 ++++---- 3 files changed, 17 insertions(+), 10 deletions(-) diff --git a/libraries/libedit/libedit.SlackBuild b/libraries/libedit/libedit.SlackBuild index 1842b082ea..ae14011db5 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} diff --git a/libraries/libedit/libedit.info b/libraries/libedit/libedit.info index 46141478c1..c605eef14f 100644 --- a/libraries/libedit/libedit.info +++ b/libraries/libedit/libedit.info @@ -1,8 +1,11 @@ PRGNAM="libedit" -VERSION="20090111_3.0" +VERSION="20090923_3.0" HOMEPAGE="http://www.thrysoee.dk/editline/" -DOWNLOAD="http://www.thrysoee.dk/editline/libedit-20090111-3.0.tar.gz" -MD5SUM="a9d91e975c2913bc3dbdfcc72b80e994" +DOWNLOAD="http://www.thrysoee.dk/editline/libedit-20090923-3.0.tar.gz" +MD5SUM="1e6dad38e8499d71b9c78045e5536734" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" MAINTAINER="Mikko Varri" EMAIL="vmj@linuxbox.fi" -APPROVED="rworkman" +APPROVED="dsomero" + diff --git a/libraries/libedit/slack-desc b/libraries/libedit/slack-desc index 1e8984b2a3..5a89210226 100644 --- a/libraries/libedit/slack-desc +++ b/libraries/libedit/slack-desc @@ -13,7 +13,7 @@ libedit: library (libedit). This Berkeley-style licensed command line editor libedit: library provides generic line editing, history, and tokenization libedit: functions, similar to those found in GNU Readline. libedit: -libedit: http://www.thrysoee.dk/editline/ -libedit: -libedit: -libedit: +libedit: Homepage: http://www.thrysoee.dk/editline/ +libedit: +libedit: +libedit: