wok-6.x view texinfo/receipt @ rev 25028

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 19 17:04:56 2022 +0000 (2022-05-19)
parents 9b7b70c9feef
children
line source
1 # SliTaz package receipt.
3 PACKAGE="texinfo"
4 VERSION="4.13a"
5 CATEGORY="development"
6 SHORT_DESC="GNU documentation tools."
7 MAINTAINER="rcx@zoominternet.net"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/texinfo/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="documentation"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to compile & install the temporary toolchain by Tazwok.
25 cook_tmp_toolchain()
26 {
27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
28 ./configure &&
29 make $MAKEFLAGS &&
30 make install
31 }
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo"
37 ./configure $CONFIGURE_ARGS &&
38 make && make install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/$PACKAGE $fs/usr/share
47 }