wok view makeself/receipt @ rev 17035

slitaz-configs-base: use chroot in post_install()
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Aug 18 08:45:31 2014 +0000 (2014-08-18)
parents 1ec92e652f66
children 228c4c7a7cf9
line source
1 # SliTaz package receipt.
3 PACKAGE="makeself"
4 VERSION="2.1.5"
5 CATEGORY="development"
6 SHORT_DESC="Utility to create self-extraction packages."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.run"
10 WEB_SITE="http://megastep.org/makeself"
11 WGET_URL="http://megastep.org/makeself/$PACKAGE-$VERSION.run"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 mkdir -p $DESTDIR/usr/bin
18 mkdir -p $DESTDIR/usr/share/makeself
19 cp -a makeself.sh $DESTDIR/usr/bin/makeself
20 cp -a makeself-header.sh $DESTDIR/usr/share/makeself
21 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
29 cp -a $install/usr/bin $fs/usr
30 cp -a $install/usr/share $fs/usr
31 }