wok rev 10576
elfutils: Only install binutils when not installed and using cook. Don't added to bdeps since it will break tazwok cookorder.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 19:27:13 2011 +0000 (2011-05-25) |
parents | 4773dc63b2eb |
children | 84e3f4466f26 |
files | elfutils/receipt |
line diff
1.1 --- a/elfutils/receipt Wed May 25 19:26:31 2011 +0000 1.2 +++ b/elfutils/receipt Wed May 25 19:27:13 2011 +0000 1.3 @@ -5,19 +5,23 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="ELF object file access library." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 -DEPENDS="glibc-base elfutils" 1.8 -BUILD_DEPENDS="binutils" 1.9 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.10 WEB_SITE="https://fedorahosted.org/elfutils/" 1.11 # Note : use http mirror because https can't be access at elfutils compilation time 1.12 # when cooking from scratch. 1.13 #WGET_URL="http://cvs.fedoraproject.org/repo/pkgs/elfutils/$TARBALL/3dcfb28fa339090a1d29a9e148cce469/$TARBALL" 1.14 -WGET_URL="http://gentoo.webm.ru/distfiles/elfutils-0.150.tar.bz2" 1.15 +WGET_URL="http://gentoo.webm.ru/distfiles/$TARBALL" 1.16 + 1.17 +DEPENDS="glibc-base elfutils" 1.18 +#BUILD_DEPENDS="binutils" 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 cd $src 1.24 + if [ -x /usr/bin/cook ]; then 1.25 + [ -d "/var/lib/tazpkg/installed/binutils" ] || tazpkg get-install binutils 1.26 + fi 1.27 ./configure $CONFIGURE_ARGS && 1.28 make && make check && make install 1.29 }