wok-next view readline/receipt @ rev 19561

Initial commit to wok-next (SliTaz v.6 now): update 61 packages (about) according to LFS 7.10
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 16 01:16:56 2016 +0200 (2016-12-16)
parents fa58eb98af1e
children e9bd4eca24b2
line source
1 # SliTaz package receipt.
3 PACKAGE="readline"
4 VERSION="6.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU readline."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="ncurses"
16 BUILD_DEPENDS="ncurses-dev flex"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 case "$ARCH" in
22 arm*) export bash_cv_wcwidth_broken=true ;;
23 esac
25 patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch
26 sed -i '/(MV)/d' Makefile*
28 ./configure \
29 --enable-multibyte \
30 --with-curses \
31 $CONFIGURE_ARGS &&
32 make SHLIB_LIBS=-lncursesw &&
33 make DESTDIR=$install install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }