wok view patchelf/receipt @ rev 23955

Add rhash
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 26 09:25:55 2020 +0000 (2020-09-26)
parents 0847cb95b143
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="patchelf"
4 VERSION="0.10"
5 CATEGORY="development"
6 SHORT_DESC="Modify the dynamic linker and RPATH of ELF executables."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://nixos.org/patchelf.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/NixOS/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="automake gcc83"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 export CC=gcc-83
21 export CXX=g++-83
23 ./bootstrap.sh &&
24 ./configure \
25 --prefix=/usr \
26 --mandir=/usr/share/man \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 }