system/hh: Updated for version 1.23.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Zhu Qun-Ying 2017-11-08 08:17:46 +07:00 committed by Willy Sudiarto Raharjo
parent 1c0ceffd64
commit e831fe3645
3 changed files with 7 additions and 16 deletions

View File

@ -1,11 +0,0 @@
--- hstr-1.22/configure.ac 2017-02-02 12:44:38.000000000 -0800
+++ hstr-1.22.new/configure.ac 2017-02-09 14:26:56.524105894 -0800
@@ -49,7 +49,7 @@
# Checks for libraries.
AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])])
-AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])])
+AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])],[-lncurses])
# Checks for header files.
AC_CHECK_HEADER(assert.h)

View File

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=hh
VERSION=${VERSION:-1.22}
VERSION=${VERSION:-1.23}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGNAM=hstr
@ -71,7 +71,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
patch -p1 < $CWD/configure.patch
autoreconf -vis
CFLAGS="$SLKCFLAGS" \
@ -86,6 +85,9 @@ ac_cv_func_malloc_0_nonnull=yes \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
# Reserved for next Slackware release
#sed -i 's/lncursesw/lncursesw -ltinfo/g' src/Makefile
make
make install DESTDIR=$PKG

View File

@ -1,8 +1,8 @@
PRGNAM="hh"
VERSION="1.22"
VERSION="1.23"
HOMEPAGE="https://github.com/dvorka/hstr"
DOWNLOAD="https://github.com/dvorka/hstr/archive/1.22/hstr-1.22.tar.gz"
MD5SUM="40fa8f6557ffa77b34a5090a866e051a"
DOWNLOAD="https://github.com/dvorka/hstr/archive/1.23/hstr-1.23.tar.gz"
MD5SUM="2e2cf85dd11ef49ef4ad8666f665acbe"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""