wok annotate makeself/receipt @ rev 11513
prboom: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Dec 22 23:37:34 2011 +0100 (2011-12-22) |
parents | 61e9a91fcb83 |
children | 3765f181a6d5 |
rev | line source |
---|---|
slaxemulator@7792 | 1 # SliTaz package receipt. |
slaxemulator@7792 | 2 |
slaxemulator@7792 | 3 PACKAGE="makeself" |
slaxemulator@7792 | 4 VERSION="2.1.5" |
slaxemulator@7792 | 5 CATEGORY="development" |
slaxemulator@7792 | 6 SHORT_DESC="Utility to create self-extraction packages." |
slaxemulator@7792 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@9272 | 8 TARBALL="$PACKAGE-$VERSION.run" |
slaxemulator@7792 | 9 WEB_SITE="http://megastep.org/makeself" |
pankso@10646 | 10 WGET_URL="http://megastep.org/makeself/$PACKAGE-$VERSION.run" |
slaxemulator@7792 | 11 |
slaxemulator@7792 | 12 # Rules to configure and make the package. |
slaxemulator@7792 | 13 compile_rules() |
slaxemulator@7792 | 14 { |
slaxemulator@7792 | 15 cd $src |
slaxemulator@7792 | 16 mkdir -p $PWD/_pkg/usr/bin |
slaxemulator@7792 | 17 mkdir -p $PWD/_pkg/usr/share/makeself |
slaxemulator@7792 | 18 cp -a makeself.sh $PWD/_pkg/usr/bin/makeself |
slaxemulator@7792 | 19 cp -a makeself-header.sh $PWD/_pkg/usr/share/makeself |
slaxemulator@7792 | 20 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $PWD/_pkg/usr/bin/makeself |
slaxemulator@7792 | 21 |
slaxemulator@7792 | 22 } |
slaxemulator@7792 | 23 |
slaxemulator@7792 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7792 | 25 genpkg_rules() |
slaxemulator@7792 | 26 { |
slaxemulator@7792 | 27 mkdir -p $fs/usr |
slaxemulator@7792 | 28 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7792 | 29 cp -a $_pkg/usr/share $fs/usr |
slaxemulator@7792 | 30 } |
slaxemulator@7792 | 31 |