wok view makeself/receipt @ rev 21874

facter: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 28 11:31:06 2019 +0200 (2019-09-28)
parents 3765f181a6d5
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="makeself"
4 VERSION="2.4.0"
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 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $DESTDIR/usr/bin
18 mkdir -p $DESTDIR/usr/share/makeself
20 cp -a makeself.sh $DESTDIR/usr/bin/makeself
21 cp -a makeself-header.sh $DESTDIR/usr/share/makeself
22 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $DESTDIR/usr/bin/makeself
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/share $fs/usr
32 }