wok-next annotate crosstool-ng/receipt @ rev 9857
obconf: fix BUILD_DEPENDS (again)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 16 15:34:53 2011 +0200 (2011-05-16) |
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 } |