wok annotate readline/receipt @ rev 22831

rage: normalize $VERSION
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 08 12:36:52 2020 +0100 (2020-02-08)
parents 6135577f4d08
children 3e9a9990c985
rev   line source
pankso@633 1 # SliTaz package receipt.
pankso@633 2
pankso@633 3 PACKAGE="readline"
Hans-G?nter@21385 4 VERSION="8.0"
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"
Hans-G?nter@21385 9 WEB_SITE="https://www.gnu.org/software/readline/"
Hans-G?nter@21385 10
pankso@633 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1468 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pankso@633 13
pascal@14252 14 DEPENDS=""
pankso@12810 15 BUILD_DEPENDS="ncursesw-dev"
slaxemulator@10336 16
Hans-G?nter@21385 17 HOST_ARCH="i486 arm"
Hans-G?nter@21385 18
pankso@633 19 # Rules to configure and make the package.
pankso@633 20 compile_rules()
pankso@633 21 {
pascal@19134 22 case "$ARCH" in
pascal@19134 23 arm*) export bash_cv_wcwidth_broken=true ;;
pascal@19134 24 esac
Hans-G?nter@21385 25
Hans-G?nter@21385 26 # patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch
pascal@14253 27 sed -i '/(MV)/d' Makefile*
Hans-G?nter@21385 28
Hans-G?nter@21385 29 ./configure --disable-install-examples $CONFIGURE_ARGS &&
Hans-G?nter@21385 30 make -j 1 &&
Hans-G?nter@21385 31 make DESTDIR=$DESTDIR install
pankso@633 32 }
pankso@633 33
pankso@633 34 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@633 35 genpkg_rules()
pankso@633 36 {
pankso@633 37 mkdir -p $fs/usr/lib
pankso@12810 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@633 39 }