wok view makeself/receipt @ rev 25632

Up gtklife (5.3)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 23 14:06:29 2023 +0000 (11 months ago)
parents 860cdb4f3471
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 # What is the latest version available today?
15 current_version()
16 {
17 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
18 sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 mkdir -p $DESTDIR/usr/bin
25 mkdir -p $DESTDIR/usr/share/makeself
27 cp -a makeself.sh $DESTDIR/usr/bin/makeself
28 cp -a makeself-header.sh $DESTDIR/usr/share/makeself
29 sed -i -e 's|HEADER=`dirname "$0"`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' \
30 $DESTDIR/usr/bin/makeself
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_folders bin
37 cook_copy_folders share
38 }