diff options
author | LEVAI Daniel <leva@ecentrum.hu> | 2014-03-04 05:36:55 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-03-04 05:36:55 +0700 |
commit | d18722f3dda4de0f45fc4594456796eb401b4b29 (patch) | |
tree | 242e5b41cfb22e681da4ec92137fff5582c5cd71 /libraries | |
parent | 2701aa8268c6a03358147e6e4e5ced3dc4f89677 (diff) | |
download | slackbuilds-d18722f3dda4de0f45fc4594456796eb401b4b29.tar.gz |
libraries/libedit: Updated for version 20140213-3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libedit/README | 7 | ||||
-rw-r--r-- | libraries/libedit/libedit.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/libedit/libedit.info | 6 |
3 files changed, 19 insertions, 5 deletions
diff --git a/libraries/libedit/README b/libraries/libedit/README index 0d54bbe870..026d498ff5 100644 --- a/libraries/libedit/README +++ b/libraries/libedit/README @@ -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. diff --git a/libraries/libedit/libedit.SlackBuild b/libraries/libedit/libedit.SlackBuild index 4f0af35c7f..1696bfb787 100644 --- a/libraries/libedit/libedit.SlackBuild +++ b/libraries/libedit/libedit.SlackBuild @@ -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 diff --git a/libraries/libedit/libedit.info b/libraries/libedit/libedit.info index 521e070433..0aa57b4c30 100644 --- a/libraries/libedit/libedit.info +++ b/libraries/libedit/libedit.info @@ -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="" |