libraries/libedit: Updated for version 20140213-3.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
LEVAI Daniel 2014-03-04 05:36:55 +07:00 committed by Willy Sudiarto Raharjo
parent 2701aa8268
commit d18722f3dd
3 changed files with 19 additions and 5 deletions

View File

@ -2,3 +2,10 @@ This is an autotool- and libtoolized port of the NetBSD Editline
library (libedit). This Berkeley-style licensed command line editor
library provides generic line editing, history, and tokenization
functions, similar to those found in GNU Readline.
The slackbuild has a build time variable called LIBEDIT_WIDEC, which if set to
`yes', turns on the wide character support of the built libedit library.
Although the support is there, initial testing shows that it acts weird, and
displays Unicode byte sequences instead of the real typed-in characters. You
can experiment with it, but don't count on it until it is cleared up.
The default build option was and is disabled widechar support.

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libedit
VERSION=${VERSION:-20130712_3.1}
VERSION=${VERSION:-20140213_3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -71,6 +71,12 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
if [ "${LIBEDIT_WIDEC}" = 'yes' ];then
LIBEDIT_WIDEC='--enable-widec'
else
LIBEDIT_WIDEC='--disable-widec'
fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -78,7 +84,8 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--disable-static \
--build=$ARCH-slackware-linux
--build=$ARCH-slackware-linux \
"${LIBEDIT_WIDEC}"
make
make install-strip DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="libedit"
VERSION="20130712_3.1"
VERSION="20140213_3.1"
HOMEPAGE="http://www.thrysoee.dk/editline/"
DOWNLOAD="http://thrysoee.dk/editline/libedit-20130712-3.1.tar.gz"
MD5SUM="0891336c697362727a1fa7e60c5cb96c"
DOWNLOAD="http://thrysoee.dk/editline/libedit-20140213-3.1.tar.gz"
MD5SUM="50bacd08cb42cae5dc437c28d71f39bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""