wok annotate texinfo/receipt @ rev 25656
Up fwknop (2.6.11)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 09 11:08:06 2024 +0000 (7 months ago) |
parents | 71360a13cd94 |
children |
rev | line source |
---|---|
rcx@3536 | 1 # SliTaz package receipt. |
rcx@3536 | 2 |
rcx@3536 | 3 PACKAGE="texinfo" |
rcx@3536 | 4 VERSION="4.13a" |
rcx@3536 | 5 CATEGORY="development" |
rcx@3536 | 6 SHORT_DESC="GNU documentation tools." |
rcx@3536 | 7 MAINTAINER="rcx@zoominternet.net" |
pascal@15236 | 8 LICENSE="GPL3" |
rcx@3536 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
rcx@3536 | 10 WEB_SITE="http://www.gnu.org/software/texinfo/" |
rcx@3536 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
jozee@4973 | 12 TAGS="documentation" |
rcx@3536 | 13 |
slaxemulator@10417 | 14 DEPENDS="ncurses" |
pankso@15943 | 15 BUILD_DEPENDS="ncurses-dev" |
slaxemulator@10417 | 16 |
pascal@24336 | 17 # What is the latest version available today? |
pascal@24336 | 18 current_version() |
pascal@24336 | 19 { |
pascal@25609 | 20 wget -O - https://ftp.gnu.org/gnu/$PACKAGE/ 2>/dev/null | \ |
pascal@24336 | 21 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 22 } |
pascal@24336 | 23 |
slaxemulator@10417 | 24 # Rules to compile & install the temporary toolchain by Tazwok. |
slaxemulator@10417 | 25 cook_tmp_toolchain() |
slaxemulator@10417 | 26 { |
pascal@17677 | 27 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo" |
pascal@15236 | 28 ./configure && |
pascal@15265 | 29 make $MAKEFLAGS && |
pascal@15236 | 30 make install |
slaxemulator@10417 | 31 } |
slaxemulator@10417 | 32 |
rcx@3536 | 33 # Rules to configure and make the package. |
rcx@3536 | 34 compile_rules() |
rcx@3536 | 35 { |
pascal@17677 | 36 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo" |
slaxemulator@10126 | 37 ./configure $CONFIGURE_ARGS && |
pascal@15265 | 38 make && make install |
rcx@3536 | 39 } |
rcx@3536 | 40 |
rcx@3536 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3536 | 42 genpkg_rules() |
rcx@3536 | 43 { |
rcx@3536 | 44 mkdir -p $fs/usr/share |
pascal@15236 | 45 cp -a $install/usr/bin $fs/usr |
pascal@15236 | 46 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
rcx@3536 | 47 } |