wok-current rev 21663

updated patchelf (0.8 -> 0.10)
author Hans-G?nter Theisgen
date Sat Jun 01 11:04:36 2019 +0100 (2019-06-01)
parents 9cc63da7035a
children ab606e40fd87
files patchelf/receipt
line diff
     1.1 --- a/patchelf/receipt	Sat Jun 01 10:50:09 2019 +0100
     1.2 +++ b/patchelf/receipt	Sat Jun 01 11:04:36 2019 +0100
     1.3 @@ -1,21 +1,29 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="patchelf"
     1.7 -VERSION="0.8"
     1.8 +VERSION="0.10"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Modify the dynamic linker and RPATH of ELF executables."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL3"
    1.13 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="https://nixos.org/patchelf.html"
    1.15 -WGET_URL="https://nixos.org/releases/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
    1.16  
    1.17 -DEPENDS="gcc-lib-base"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.19 +WGET_URL="https://github.com/NixOS/$PACKAGE/archive/$VERSION.tar.gz"
    1.20 +
    1.21 +DEPENDS="gcc83-lib-base"
    1.22 +BUILD_DEPENDS="automake gcc83"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	./configure --prefix=/usr --mandir=/usr/share/man \
    1.28 +	export	CC=gcc-83
    1.29 +	export	CXX=g++-83
    1.30 +
    1.31 +	./bootstrap.sh &&
    1.32 +	./configure			\
    1.33 +		--prefix=/usr		\
    1.34 +		--mandir=/usr/share/man	\
    1.35  		$CONFIGURE_ARGS &&
    1.36  	make &&
    1.37  	make DESTDIR=$DESTDIR install