wok-current view chrpath/receipt @ rev 19870
linld: fix progname
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 30 15:54:03 2017 +0200 (2017-03-30) |
parents | eb8067417980 |
children | 56931eff6ddf |
line source
1 # SliTaz package receipt.
3 PACKAGE="chrpath"
4 VERSION="0.13"
5 CATEGORY="misc"
6 SHORT_DESC="Change or delete the rpath or runpath in ELF files"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz"
10 WEB_SITE="http://packages.debian.org/chrpath"
11 WGET_URL="http://ftp.debian.org/debian/pool/main/c/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 sed -i 's|/doc|/share/doc|' Makefile*
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $install/usr/bin $fs/usr
30 }