wok-6.x annotate chrpath/receipt @ rev 24092
Up get-pcem-roms (2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 18 13:15:53 2021 +0000 (2021-07-18) |
parents | e3270f32432e |
children | b78e79c31b1f |
rev | line source |
---|---|
slaxemulator@6581 | 1 # SliTaz package receipt. |
slaxemulator@6581 | 2 |
slaxemulator@6581 | 3 PACKAGE="chrpath" |
Hans-G?nter@20787 | 4 VERSION="0.16" |
slaxemulator@6581 | 5 CATEGORY="misc" |
slaxemulator@6581 | 6 SHORT_DESC="Change or delete the rpath or runpath in ELF files" |
slaxemulator@6581 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15579 | 8 LICENSE="GPL2" |
Hans-G?nter@20787 | 9 WEB_SITE="http://packages.debian.org/chrpath" |
Hans-G?nter@20787 | 10 |
slaxemulator@6581 | 11 TARBALL="${PACKAGE}_${VERSION}.orig.tar.gz" |
slaxemulator@6581 | 12 WGET_URL="http://ftp.debian.org/debian/pool/main/c/$PACKAGE/$TARBALL" |
slaxemulator@6581 | 13 |
slaxemulator@6581 | 14 # Rules to configure and make the package. |
slaxemulator@6581 | 15 compile_rules() |
slaxemulator@6581 | 16 { |
pascal@19284 | 17 sed -i 's|/doc|/share/doc|' Makefile* |
slaxemulator@6581 | 18 ./configure \ |
slaxemulator@6581 | 19 --prefix=/usr \ |
slaxemulator@6581 | 20 --infodir=/usr/share/info \ |
slaxemulator@6581 | 21 --mandir=/usr/share/man \ |
slaxemulator@6581 | 22 $CONFIGURE_ARGS && |
Hans-G?nter@20787 | 23 make && |
Hans-G?nter@20787 | 24 make DESTDIR=$DESTDIR install |
slaxemulator@6581 | 25 } |
slaxemulator@6581 | 26 |
slaxemulator@6581 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6581 | 28 genpkg_rules() |
slaxemulator@6581 | 29 { |
slaxemulator@6581 | 30 mkdir -p $fs/usr |
pascal@15579 | 31 cp -a $install/usr/bin $fs/usr |
slaxemulator@6581 | 32 } |