wok-6.x rev 8178
imported patch toolchain/elfutils.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | 40dd80f1a82c |
children | 48520ccbd2a8 |
files | elfutils/receipt |
line diff
1.1 --- a/elfutils/receipt Thu Jan 27 00:20:49 2011 +0100 1.2 +++ b/elfutils/receipt Thu Jan 27 00:20:49 2011 +0100 1.3 @@ -5,32 +5,22 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="ELF object file access library." 1.6 MAINTAINER="pascal.bellard@slitaz.org" 1.7 -BUILD_DEPENDS="m4 zlib-dev" 1.8 +DEPENDS="glibc-base" 1.9 +BUILD_DEPENDS="binutils" 1.10 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.11 -WEB_SITE="http://fedorahosted.org/elfutils/" 1.12 -WGET="https://fedorahosted.org/releases/e/l/$PACKAGE/$VERSION/$TARBALL" 1.13 +WEB_SITE="https://fedorahosted.org/elfutils/" 1.14 +# Note : use http mirror because https can't be access at elfutils compilation time 1.15 +# when cooking from scratch. 1.16 +WGET_URL="http://cvs.fedoraproject.org/repo/pkgs/elfutils/$TARBALL/3dcfb28fa339090a1d29a9e148cce469/$TARBALL" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 { 1.21 - 1.22 - # Download using real wget since the link is https and we need 1.23 - # --no-check-certificate that works 1.24 - if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then 1.25 - tar xjf $SOURCES_REPOSITORY/$TARBALL 1.26 - else 1.27 - [ -L /usr/bin/wget ] && tazpkg get-install wget --forced 1.28 - wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET" 1.29 - tar xjf $SOURCES_REPOSITORY/$TARBALL 1.30 - fi 1.31 - 1.32 cd $src 1.33 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.34 - --mandir=/usr/share/man \ 1.35 - $CONFIGURE_ARGS && make 1.36 + ./configure && 1.37 make && 1.38 make check && 1.39 - make DESTDIR=$PWD/_pkg install 1.40 + make install 1.41 } 1.42 1.43 # Rules to gen a SliTaz package suitable for Tazpkg.