wok annotate readline/receipt @ rev 20280
linux: update .config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 26 22:05:46 2018 +0200 (2018-03-26) |
parents | 2507157b054d |
children | 6135577f4d08 |
rev | line source |
---|---|
pankso@633 | 1 # SliTaz package receipt. |
pankso@633 | 2 |
pankso@633 | 3 PACKAGE="readline" |
devl547@17610 | 4 VERSION="6.3" |
pankso@633 | 5 CATEGORY="system-tools" |
pankso@633 | 6 SHORT_DESC="GNU readline." |
pankso@633 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pankso@633 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@633 | 10 WEB_SITE="http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html" |
pascal@1468 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@12810 | 12 HOST_ARCH="i486 arm" |
pankso@633 | 13 |
pascal@14252 | 14 DEPENDS="" |
pankso@12810 | 15 BUILD_DEPENDS="ncursesw-dev" |
slaxemulator@10336 | 16 |
pankso@633 | 17 # Rules to configure and make the package. |
pankso@633 | 18 compile_rules() |
pankso@633 | 19 { |
pascal@19134 | 20 case "$ARCH" in |
pascal@19134 | 21 arm*) export bash_cv_wcwidth_broken=true ;; |
pascal@19134 | 22 esac |
pankso@633 | 23 cd $src |
devl547@17610 | 24 patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch |
pascal@14253 | 25 sed -i '/(MV)/d' Makefile* |
slaxemulator@10336 | 26 ./configure $CONFIGURE_ARGS && |
pankso@12810 | 27 make && make DESTDIR=$DESTDIR install |
pankso@633 | 28 } |
pankso@633 | 29 |
pankso@633 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@633 | 31 genpkg_rules() |
pankso@633 | 32 { |
pankso@633 | 33 mkdir -p $fs/usr/lib |
pankso@12810 | 34 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@633 | 35 } |
pankso@633 | 36 |