wok annotate chrpath/receipt @ rev 25191
updated python-cryptography (2.8 -> 3.3.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:08:55 2022 +0100 (2022-07-13) |
parents | 56931eff6ddf |
children | 73f36875e5a7 |
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 |
pascal@24419 | 14 # What is the latest version available today? |
pascal@24419 | 15 current_version() |
pascal@24419 | 16 { |
pascal@24419 | 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24419 | 18 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).orig.*\".*|\\1|" | sort -Vr | sed q |
pascal@24419 | 19 } |
pascal@24419 | 20 |
slaxemulator@6581 | 21 # Rules to configure and make the package. |
slaxemulator@6581 | 22 compile_rules() |
slaxemulator@6581 | 23 { |
pascal@19284 | 24 sed -i 's|/doc|/share/doc|' Makefile* |
slaxemulator@6581 | 25 ./configure \ |
slaxemulator@6581 | 26 --prefix=/usr \ |
slaxemulator@6581 | 27 --infodir=/usr/share/info \ |
slaxemulator@6581 | 28 --mandir=/usr/share/man \ |
slaxemulator@6581 | 29 $CONFIGURE_ARGS && |
Hans-G?nter@20787 | 30 make && |
Hans-G?nter@20787 | 31 make DESTDIR=$DESTDIR install |
slaxemulator@6581 | 32 } |
slaxemulator@6581 | 33 |
slaxemulator@6581 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@6581 | 35 genpkg_rules() |
slaxemulator@6581 | 36 { |
slaxemulator@6581 | 37 mkdir -p $fs/usr |
pascal@15579 | 38 cp -a $install/usr/bin $fs/usr |
slaxemulator@6581 | 39 } |