wok-current view readline/receipt @ rev 19726
testdisk: simplify some initializations
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 16 18:55:42 2017 +0100 (2017-02-16) |
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 }