wok-6.x annotate autoconf/receipt @ rev 21253
netkit-rsh -> rsh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 12 09:40:59 2019 +0200 (2019-04-12) |
parents | 7f39549720b8 |
children | c77075eb1142 |
rev | line source |
---|---|
pankso@15 | 1 # SliTaz package receipt. |
pankso@15 | 2 |
pankso@15 | 3 PACKAGE="autoconf" |
al@14604 | 4 VERSION="2.69" |
pankso@200 | 5 CATEGORY="development" |
al@14604 | 6 SHORT_DESC="A GNU tool for automatically configuring source code" |
pankso@15 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15001 | 8 LICENSE="GPL2" |
pankso@15 | 9 WEB_SITE="http://www.gnu.org/software/autoconf/" |
al@14604 | 10 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pankso@15 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@15 | 12 |
slaxemulator@10277 | 13 DEPENDS="m4 perl" |
slaxemulator@10277 | 14 BUILD_DEPENDS="m4 perl" |
slaxemulator@10277 | 15 |
al@14604 | 16 # Rules to compile & install the temporary toolchain. |
slaxemulator@10407 | 17 cook_tmp_toolchain() |
slaxemulator@10407 | 18 { |
slaxemulator@10407 | 19 ./configure && make && make install |
slaxemulator@10407 | 20 } |
slaxemulator@10407 | 21 |
pankso@15 | 22 # Rules to configure and make the package. |
pankso@15 | 23 compile_rules() |
pankso@15 | 24 { |
slaxemulator@10277 | 25 ./configure $CONFIGURE_ARGS && |
al@14604 | 26 make && |
al@14604 | 27 make install |
pankso@15 | 28 } |
pankso@15 | 29 |
pankso@15 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@15 | 31 genpkg_rules() |
pankso@15 | 32 { |
pankso@15 | 33 mkdir -p $fs/usr/share |
al@14604 | 34 cp -a $install/usr/bin $fs/usr |
al@14604 | 35 cp -a $install/usr/share/autoconf $fs/usr/share |
al@14604 | 36 rm -f $fs/usr/share/autoconf/INSTALL |
pankso@15 | 37 } |