wok view readline/receipt @ rev 24755
gtklp: ignore ERROR from autogen.sh
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 17 07:54:00 2022 +0100 (2022-03-17) |
parents | 3e9a9990c985 |
children | 8e26e36b2c5f |
line source
1 # SliTaz package receipt.
3 PACKAGE="readline"
4 VERSION="8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="GNU readline."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/readline/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS=""
15 BUILD_DEPENDS="ncursesw-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-[0-9]/!d;/tar/!d;/-[abr]/d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 case "$ARCH" in
29 arm*) export bash_cv_wcwidth_broken=true ;;
30 esac
32 # patch -Np1 -i $stuff/readline-6.3-upstream_fixes-3.patch
33 sed -i '/(MV)/d' Makefile*
35 ./configure --disable-install-examples $CONFIGURE_ARGS &&
36 make -j 1 &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 }