wok-next view makeself/receipt @ rev 9384
Fixed tazpkg and tazwok to get the sources from mercurial through tag archives.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 26 00:07:02 2011 +0000 (2011-03-26) |
parents | c40d672fcb68 |
children | 1ec92e652f66 |
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/makeself.run"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 /bin/sh $src/$TARBALL
16 cd $src
17 mkdir -p $PWD/_pkg/usr/bin
18 mkdir -p $PWD/_pkg/usr/share/makeself
19 cp -a makeself.sh $PWD/_pkg/usr/bin/makeself
20 cp -a makeself-header.sh $PWD/_pkg/usr/share/makeself
21 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $PWD/_pkg/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 $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/share $fs/usr
31 }