mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libedit: Updated for version 20090923_3.0
This commit is contained in:
parent
31e10d45a1
commit
39e46e29d7
3 changed files with 17 additions and 10 deletions
|
@ -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}
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue