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