wok-6.x annotate texinfo/receipt @ rev 21366
grub2: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Apr 21 18:04:49 2019 +0200 (2019-04-21) |
parents | 3ba8d2c9720d |
children | 71360a13cd94 |
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 |
slaxemulator@10417 | 17 # Rules to compile & install the temporary toolchain by Tazwok. |
slaxemulator@10417 | 18 cook_tmp_toolchain() |
slaxemulator@10417 | 19 { |
pascal@17677 | 20 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo" |
pascal@15236 | 21 ./configure && |
pascal@15265 | 22 make $MAKEFLAGS && |
pascal@15236 | 23 make install |
slaxemulator@10417 | 24 } |
slaxemulator@10417 | 25 |
rcx@3536 | 26 # Rules to configure and make the package. |
rcx@3536 | 27 compile_rules() |
rcx@3536 | 28 { |
pascal@17677 | 29 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -ltinfo" |
slaxemulator@10126 | 30 ./configure $CONFIGURE_ARGS && |
pascal@15265 | 31 make && make install |
rcx@3536 | 32 } |
rcx@3536 | 33 |
rcx@3536 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
rcx@3536 | 35 genpkg_rules() |
rcx@3536 | 36 { |
rcx@3536 | 37 mkdir -p $fs/usr/share |
pascal@15236 | 38 cp -a $install/usr/bin $fs/usr |
pascal@15236 | 39 cp -a $install/usr/share/$PACKAGE $fs/usr/share |
rcx@3536 | 40 } |