wok-next view readline/receipt @ rev 19640
Up xcb-util
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Feb 13 11:27:42 2017 +0200 (2017-02-13) |
parents | c963361d3d54 |
children | 1a86cb99cbbf |
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.*old/d' Makefile.in
27 sed -i '/{OLDSUFF}/c:' support/shlib-install
29 ./configure \
30 --disable-static \
31 --docdir=/usr/share/doc/readline-$VERSION \
32 $CONFIGURE_ARGS &&
33 make SHLIB_LIBS=-lncurses &&
34 make DESTDIR=$install install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cook_copy_files *.so*
41 }