wok annotate crosstool-ng/receipt @ rev 8969

virtualbox-ose: add PROVIDE=
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 10:08:14 2011 +0100 (2011-03-02)
parents eee5d55b09fd
children 37ae88f35e4d
rev   line source
pascal@7793 1 # SliTaz package receipt.
pascal@7793 2
pascal@7793 3 PACKAGE="crosstool-ng"
pascal@7793 4 VERSION="1.9.1"
pascal@7793 5 CATEGORY="development"
pascal@7793 6 SHORT_DESC="Tool to Build toolchains."
pascal@7793 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@7793 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@7793 9 WEB_SITE="http://ymorin.is-a-geek.org/projects/crosstool"
pascal@7793 10 WGET_URL="http://ymorin.is-a-geek.org/download/$PACKAGE/$TARBALL"
pascal@7793 11 DEPENDS="slitaz-toolchain"
gokhlayeh@8815 12 BUILD_DEPENDS="flex cvs"
pascal@7793 13
pascal@7793 14 # Rules to configure and make the package.
pascal@7793 15 compile_rules()
pascal@7793 16 {
pascal@7793 17 cd $src
pascal@7793 18 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@7793 19 --mandir=/usr/share/man \
pascal@7793 20 $CONFIGURE_ARGS &&
pascal@7793 21 make &&
pascal@7793 22 make DESTDIR=$PWD/_pkg install
pascal@7793 23 }
pascal@7793 24
pascal@7793 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7793 26 genpkg_rules()
pascal@7793 27 {
pascal@7793 28 cp -a $_pkg/usr $fs
pascal@7793 29 }