wok-current view makeself/receipt @ rev 25677
Remove lguest, linux-firmware
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Mar 07 14:36:06 2024 +0000 (9 months ago) |
parents | 52da7d813652 |
children |
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 }