# HG changeset patch # User Antoine Bodin # Date 1296084049 -3600 # Node ID 450d417ccaa241b40efad5fc7c156ee17f959c97 # Parent 40dd80f1a82c4c00c4817abeb081c888ce59b6c8 imported patch toolchain/elfutils.patch diff -r 40dd80f1a82c -r 450d417ccaa2 elfutils/receipt --- a/elfutils/receipt Thu Jan 27 00:20:49 2011 +0100 +++ b/elfutils/receipt Thu Jan 27 00:20:49 2011 +0100 @@ -5,32 +5,22 @@ CATEGORY="development" SHORT_DESC="ELF object file access library." MAINTAINER="pascal.bellard@slitaz.org" -BUILD_DEPENDS="m4 zlib-dev" +DEPENDS="glibc-base" +BUILD_DEPENDS="binutils" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://fedorahosted.org/elfutils/" -WGET="https://fedorahosted.org/releases/e/l/$PACKAGE/$VERSION/$TARBALL" +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" # Rules to configure and make the package. compile_rules() { - - # Download using real wget since the link is https and we need - # --no-check-certificate that works - if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then - tar xjf $SOURCES_REPOSITORY/$TARBALL - else - [ -L /usr/bin/wget ] && tazpkg get-install wget --forced - wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" - tar xjf $SOURCES_REPOSITORY/$TARBALL - fi - cd $src - ./configure --prefix=/usr --infodir=/usr/share/info \ - --mandir=/usr/share/man \ - $CONFIGURE_ARGS && make + ./configure && make && make check && - make DESTDIR=$PWD/_pkg install + make install } # Rules to gen a SliTaz package suitable for Tazpkg.