wok view patchelf/receipt @ rev 17499

Add patchelf
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 06 15:05:29 2015 +0100 (2015-01-06)
parents
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="patchelf"
4 VERSION="0.8"
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://nixos.org/patchelf.html"
11 WGET_URL="http://nixos.org/releases/$PACKAGE/$PACKAGE-$VERSION/$TARBALL"
13 DEPENDS="gcc-lib-base"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure --prefix=/usr --mandir=/usr/share/man \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 }