wok-current view texinfo/receipt @ rev 25685
Add checkspace / fetchall feature for tazpkg
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 14 20:28:39 2024 +0000 (8 months ago) |
parents | 71360a13cd94 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="texinfo"
4 VERSION="6.8"
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 perl"
15 BUILD_DEPENDS="ncurses-dev perl-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 }