wok-6.x view readline/receipt @ rev 20006
Add: description.txt :: Following the standardization of packages.
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Wed Aug 02 03:46:40 2017 -0300 (2017-08-02) |
parents | 2507157b054d |
children | 6135577f4d08 |
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS=""
15 BUILD_DEPENDS="ncursesw-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 case "$ARCH" in
21 arm*) export bash_cv_wcwidth_broken=true ;;
22 esac
23 cd $src
24 patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch
25 sed -i '/(MV)/d' Makefile*
26 ./configure $CONFIGURE_ARGS &&
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 }