wok-6.x annotate texinfo/receipt @ rev 25104
Up klavaro (1.2.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jun 22 08:45:04 2022 +0000 (2022-06-22) |
parents | 9b7b70c9feef |
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@24336 | 20 wget -O - ${WGET_URL%/*} 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 } |