# HG changeset patch # User Christopher Rogers # Date 1306351633 0 # Node ID ead6ac3e98b78514f20966245efca9fcf69ab448 # Parent 4773dc63b2eb38fb80298c8f6a30d3ca79c7e4f9 elfutils: Only install binutils when not installed and using cook. Don't added to bdeps since it will break tazwok cookorder. diff -r 4773dc63b2eb -r ead6ac3e98b7 elfutils/receipt --- a/elfutils/receipt Wed May 25 19:26:31 2011 +0000 +++ b/elfutils/receipt Wed May 25 19:27:13 2011 +0000 @@ -5,19 +5,23 @@ CATEGORY="development" SHORT_DESC="ELF object file access library." MAINTAINER="pascal.bellard@slitaz.org" -DEPENDS="glibc-base elfutils" -BUILD_DEPENDS="binutils" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://fedorahosted.org/elfutils/" # Note : use http mirror because https can't be access at elfutils compilation time # when cooking from scratch. #WGET_URL="http://cvs.fedoraproject.org/repo/pkgs/elfutils/$TARBALL/3dcfb28fa339090a1d29a9e148cce469/$TARBALL" -WGET_URL="http://gentoo.webm.ru/distfiles/elfutils-0.150.tar.bz2" +WGET_URL="http://gentoo.webm.ru/distfiles/$TARBALL" + +DEPENDS="glibc-base elfutils" +#BUILD_DEPENDS="binutils" # Rules to configure and make the package. compile_rules() { cd $src + if [ -x /usr/bin/cook ]; then + [ -d "/var/lib/tazpkg/installed/binutils" ] || tazpkg get-install binutils + fi ./configure $CONFIGURE_ARGS && make && make check && make install }