wok annotate readline/receipt @ rev 25244
updated python-tweepy (3.8.0 -> 3.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jul 14 06:55:43 2022 +0100 (2022-07-14) |
parents | 3e9a9990c985 |
children | 8e26e36b2c5f |
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 |
pascal@24076 | 19 current_version() |
pascal@24076 | 20 { |
pascal@24076 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24079 | 22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;/-[abr]/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24076 | 23 } |
pascal@24076 | 24 |
pankso@633 | 25 # Rules to configure and make the package. |
pankso@633 | 26 compile_rules() |
pankso@633 | 27 { |
pascal@19134 | 28 case "$ARCH" in |
pascal@19134 | 29 arm*) export bash_cv_wcwidth_broken=true ;; |
pascal@19134 | 30 esac |
Hans-G?nter@21385 | 31 |
Hans-G?nter@21385 | 32 # patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch |
pascal@14253 | 33 sed -i '/(MV)/d' Makefile* |
Hans-G?nter@21385 | 34 |
Hans-G?nter@21385 | 35 ./configure --disable-install-examples $CONFIGURE_ARGS && |
Hans-G?nter@21385 | 36 make -j 1 && |
Hans-G?nter@21385 | 37 make DESTDIR=$DESTDIR install |
pankso@633 | 38 } |
pankso@633 | 39 |
pankso@633 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@633 | 41 genpkg_rules() |
pankso@633 | 42 { |
pankso@633 | 43 mkdir -p $fs/usr/lib |
pankso@12810 | 44 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@633 | 45 } |