wok-6.x view patchelf/receipt @ rev 21793
cookutils: build core-5in1 weekly too
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 06 13:48:21 2019 +0200 (2019-08-06) |
parents | a78610b2eb47 |
children | a4a9b130531d |
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="https://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 }