wok rev 6928

Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 22:36:22 2010 +0000 (2010-10-22)
parents bdaad1113991
children c4c3dd9c83ca
files elfutils-dev/receipt elfutils/receipt
line diff
     1.1 --- a/elfutils-dev/receipt	Fri Oct 22 17:37:00 2010 +0000
     1.2 +++ b/elfutils-dev/receipt	Fri Oct 22 22:36:22 2010 +0000
     1.3 @@ -1,10 +1,11 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="elfutils-dev"
     1.7 -VERSION="0.148"
     1.8 +VERSION="0.149"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="ELF object file access library, development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +DEPENDS="elfutils"
    1.13  WEB_SITE="http://fedorahosted.org/elfutils/"
    1.14  WANTED="elfutils"
    1.15  
     2.1 --- a/elfutils/receipt	Fri Oct 22 17:37:00 2010 +0000
     2.2 +++ b/elfutils/receipt	Fri Oct 22 22:36:22 2010 +0000
     2.3 @@ -1,17 +1,29 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="elfutils"
     2.7 -VERSION="0.148"
     2.8 +VERSION="0.149"
     2.9  CATEGORY="development"
    2.10  SHORT_DESC="ELF object file access library."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 +BUILD_DEPENDS="m4 zlib-dev"
    2.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.14  WEB_SITE="http://fedorahosted.org/elfutils/"
    2.15 -WGET_URL="http://fedorahosted.org/releases/e/l/$PACKAGE/$TARBALL"
    2.16 +WGET="https://fedorahosted.org/releases/e/l/$PACKAGE/$VERSION/$TARBALL"
    2.17  
    2.18  # Rules to configure and make the package.
    2.19  compile_rules()
    2.20  {
    2.21 +	
    2.22 +	# Download using real wget since the link is https and we need 
    2.23 +	# --no-check-certificate that works
    2.24 +	if [ -f $SOURCES_REPOSITORY/$TARBALL ]; then
    2.25 +		tar xjf $SOURCES_REPOSITORY/$TARBALL
    2.26 +	else
    2.27 +		[ -L /usr/bin/wget ] && tazpkg get-install wget --forced
    2.28 +		wget -O $SOURCES_REPOSITORY/$TARBALL --no-check-certificate "$WGET"
    2.29 +		tar xjf $SOURCES_REPOSITORY/$TARBALL
    2.30 +	fi
    2.31 +	
    2.32  	cd $src
    2.33  	./configure --prefix=/usr --infodir=/usr/share/info \
    2.34  	--mandir=/usr/share/man \