wok annotate autoconf/receipt @ rev 14844

tightvnc-viewer: improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Jul 18 01:30:55 2013 +0200 (2013-07-18)
parents 8ad990dde0f8
children 408c87fa22ca
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"
al@14604 8 LICENSE="GPL3"
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 cd $src
slaxemulator@10407 20 ./configure && make && make install
slaxemulator@10407 21 }
slaxemulator@10407 22
pankso@15 23 # Rules to configure and make the package.
pankso@15 24 compile_rules()
pankso@15 25 {
slaxemulator@10277 26 ./configure $CONFIGURE_ARGS &&
al@14604 27 make &&
al@14604 28 make install
pankso@15 29 }
pankso@15 30
pankso@15 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@15 32 genpkg_rules()
pankso@15 33 {
pankso@15 34 mkdir -p $fs/usr/share
al@14604 35 cp -a $install/usr/bin $fs/usr
al@14604 36 cp -a $install/usr/share/autoconf $fs/usr/share
al@14604 37 rm -f $fs/usr/share/autoconf/INSTALL
pankso@15 38 }