wok-current annotate makeself/receipt @ rev 10550
dosbox: Added libsdl-net-dev to bdeps.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 25 14:49:03 2011 +0000 (2011-05-25) |
parents | c40d672fcb68 |
children | 1ec92e652f66 |
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" |
slaxemulator@9272 | 10 WGET_URL="http://megastep.org/makeself/makeself.run" |
slaxemulator@7792 | 11 |
slaxemulator@7792 | 12 # Rules to configure and make the package. |
slaxemulator@7792 | 13 compile_rules() |
slaxemulator@7792 | 14 { |
slaxemulator@9272 | 15 /bin/sh $src/$TARBALL |
slaxemulator@7792 | 16 cd $src |
slaxemulator@7792 | 17 mkdir -p $PWD/_pkg/usr/bin |
slaxemulator@7792 | 18 mkdir -p $PWD/_pkg/usr/share/makeself |
slaxemulator@7792 | 19 cp -a makeself.sh $PWD/_pkg/usr/bin/makeself |
slaxemulator@7792 | 20 cp -a makeself-header.sh $PWD/_pkg/usr/share/makeself |
slaxemulator@7792 | 21 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $PWD/_pkg/usr/bin/makeself |
slaxemulator@7792 | 22 |
slaxemulator@7792 | 23 } |
slaxemulator@7792 | 24 |
slaxemulator@7792 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7792 | 26 genpkg_rules() |
slaxemulator@7792 | 27 { |
slaxemulator@7792 | 28 mkdir -p $fs/usr |
slaxemulator@7792 | 29 cp -a $_pkg/usr/bin $fs/usr |
slaxemulator@7792 | 30 cp -a $_pkg/usr/share $fs/usr |
slaxemulator@7792 | 31 } |
slaxemulator@7792 | 32 |