wok-6.x view makeself/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
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 }