wok-6.x view makeself/receipt @ rev 12536
rage: need auto tools
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 26 02:16:57 2012 +0200 (2012-04-26) |
parents | 61e9a91fcb83 |
children | 3765f181a6d5 |
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 TARBALL="$PACKAGE-$VERSION.run"
9 WEB_SITE="http://megastep.org/makeself"
10 WGET_URL="http://megastep.org/makeself/$PACKAGE-$VERSION.run"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 mkdir -p $PWD/_pkg/usr/bin
17 mkdir -p $PWD/_pkg/usr/share/makeself
18 cp -a makeself.sh $PWD/_pkg/usr/bin/makeself
19 cp -a makeself-header.sh $PWD/_pkg/usr/share/makeself
20 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $PWD/_pkg/usr/bin/makeself
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share $fs/usr
30 }