wok-current annotate makeself/receipt @ rev 24377
modified recipe for libboost-locale-dev
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 06 09:47:43 2022 +0100 (2022-02-06) |
parents | 228c4c7a7cf9 |
children | 52da7d813652 |
rev | line source |
---|---|
slaxemulator@7792 | 1 # SliTaz package receipt. |
slaxemulator@7792 | 2 |
slaxemulator@7792 | 3 PACKAGE="makeself" |
Hans-G?nter@21416 | 4 VERSION="2.4.0" |
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 |
pascal@15584 | 26 cp -a makeself.sh $DESTDIR/usr/bin/makeself |
pascal@15584 | 27 cp -a makeself-header.sh $DESTDIR/usr/share/makeself |
pascal@15584 | 28 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $DESTDIR/usr/bin/makeself |
slaxemulator@7792 | 29 } |
slaxemulator@7792 | 30 |
slaxemulator@7792 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7792 | 32 genpkg_rules() |
slaxemulator@7792 | 33 { |
slaxemulator@7792 | 34 mkdir -p $fs/usr |
Hans-G?nter@21416 | 35 |
Hans-G?nter@21416 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21416 | 37 cp -a $install/usr/share $fs/usr |
slaxemulator@7792 | 38 } |