wok annotate patchelf/receipt @ rev 21724
updated ptxdist again (2012.03.0 -> 2019.06.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 12 15:14:06 2019 +0100 (2019-06-12) |
parents | a78610b2eb47 |
children | a4a9b130531d |
rev | line source |
---|---|
pascal@17499 | 1 # SliTaz package receipt. |
pascal@17499 | 2 |
pascal@17499 | 3 PACKAGE="patchelf" |
Hans-G?nter@21663 | 4 VERSION="0.10" |
pascal@17499 | 5 CATEGORY="development" |
pascal@17499 | 6 SHORT_DESC="Modify the dynamic linker and RPATH of ELF executables." |
pascal@17499 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17499 | 8 LICENSE="GPL3" |
pascal@20669 | 9 WEB_SITE="https://nixos.org/patchelf.html" |
pascal@17499 | 10 |
Hans-G?nter@21663 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21663 | 12 WGET_URL="https://github.com/NixOS/$PACKAGE/archive/$VERSION.tar.gz" |
Hans-G?nter@21663 | 13 |
Hans-G?nter@21663 | 14 DEPENDS="gcc83-lib-base" |
Hans-G?nter@21663 | 15 BUILD_DEPENDS="automake gcc83" |
pascal@17499 | 16 |
pascal@17499 | 17 # Rules to configure and make the package. |
pascal@17499 | 18 compile_rules() |
pascal@17499 | 19 { |
Hans-G?nter@21663 | 20 export CC=gcc-83 |
Hans-G?nter@21663 | 21 export CXX=g++-83 |
Hans-G?nter@21663 | 22 |
Hans-G?nter@21663 | 23 ./bootstrap.sh && |
Hans-G?nter@21663 | 24 ./configure \ |
Hans-G?nter@21663 | 25 --prefix=/usr \ |
Hans-G?nter@21663 | 26 --mandir=/usr/share/man \ |
pascal@17499 | 27 $CONFIGURE_ARGS && |
pascal@17499 | 28 make && |
pascal@17499 | 29 make DESTDIR=$DESTDIR install |
pascal@17499 | 30 } |
pascal@17499 | 31 |
pascal@17499 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17499 | 33 genpkg_rules() |
pascal@17499 | 34 { |
pascal@17499 | 35 mkdir -p $fs/usr |
pascal@17499 | 36 cp -a $install/usr/bin $fs/usr |
pascal@17499 | 37 } |