wok annotate makeself/receipt @ rev 24878
updated makeself again (2.4.0 -> 2.4.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 31 14:03:13 2022 +0100 (2022-03-31) |
parents | 52da7d813652 |
children | 7364ffdaaa60 |
rev | line source |
---|---|
slaxemulator@7792 | 1 # SliTaz package receipt. |
slaxemulator@7792 | 2 |
slaxemulator@7792 | 3 PACKAGE="makeself" |
Hans-G?nter@24877 | 4 VERSION="2.4.5" |
slaxemulator@7792 | 5 CATEGORY="development" |
slaxemulator@7792 | 6 SHORT_DESC="Utility to create self-extraction packages." |
slaxemulator@7792 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15584 | 8 LICENSE="GPL2" |
Hans-G?nter@21416 | 9 WEB_SITE="https://makeself.io/" |
Hans-G?nter@21416 | 10 |
Hans-G?nter@21416 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21416 | 12 WGET_URL="https://github.com/megastep/$PACKAGE/archive/release-$VERSION.tar.gz" |
slaxemulator@7792 | 13 |
pascal@24055 | 14 current_version() |
pascal@24055 | 15 { |
pascal@24055 | 16 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@24055 | 17 sed '/archive.*tar/!d;/release-/!d;s|.*/release-\(.*\).tar.*|\1|;q' |
pascal@24055 | 18 } |
pascal@24055 | 19 |
slaxemulator@7792 | 20 # Rules to configure and make the package. |
slaxemulator@7792 | 21 compile_rules() |
slaxemulator@7792 | 22 { |
pascal@15584 | 23 mkdir -p $DESTDIR/usr/bin |
pascal@15584 | 24 mkdir -p $DESTDIR/usr/share/makeself |
Hans-G?nter@21416 | 25 |
Hans-G?nter@24877 | 26 cp -a makeself.sh $DESTDIR/usr/bin/makeself |
Hans-G?nter@24877 | 27 cp -a makeself-header.sh $DESTDIR/usr/share/makeself |
Hans-G?nter@24878 | 28 sed -i -e 's|HEADER=`dirname "$0"`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' \ |
Hans-G?nter@24877 | 29 $DESTDIR/usr/bin/makeself |
slaxemulator@7792 | 30 } |
slaxemulator@7792 | 31 |
slaxemulator@7792 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7792 | 33 genpkg_rules() |
slaxemulator@7792 | 34 { |
Hans-G?nter@24877 | 35 cook_copy_folders bin |
Hans-G?nter@24877 | 36 cook_copy_folders share |
slaxemulator@7792 | 37 } |