wok-current annotate crosstool-ng/receipt @ rev 11585
gecko-mediaplayer: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 08 17:32:11 2012 +0100 (2012-01-08) |
parents | fe2ba4f1bdde |
children | 7a9e6281add3 |
rev | line source |
---|---|
pascal@7793 | 1 # SliTaz package receipt. |
pascal@7793 | 2 |
pascal@7793 | 3 PACKAGE="crosstool-ng" |
slaxemulator@11086 | 4 VERSION="1.12.4" |
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" |
slaxemulator@11086 | 12 BUILD_DEPENDS="subversion flex cvs gawk texinfo" |
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 |
slaxemulator@11086 | 18 ./configure \ |
slaxemulator@11086 | 19 --prefix=/usr \ |
slaxemulator@11086 | 20 $CONFIGURE_ARGS && |
pascal@7793 | 21 make && |
slaxemulator@11086 | 22 make DESTDIR=$DESTDIR 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 } |