wok-next annotate makeself/receipt @ rev 8105

Up: slitaz-boot-scripts to 3.4.3.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 23 01:07:18 2011 +0000 (2011-01-23)
parents
children 61e9a91fcb83
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@7792 8 WEB_SITE="http://megastep.org/makeself"
slaxemulator@7792 9 WGET="http://megastep.org/makeself/makeself.run"
slaxemulator@7792 10
slaxemulator@7792 11 # Rules to configure and make the package.
slaxemulator@7792 12 compile_rules()
slaxemulator@7792 13 {
slaxemulator@7792 14 [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION ] ||
slaxemulator@7792 15 wget $WGET -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION
slaxemulator@7792 16 cd $WOK/$PACKAGE
slaxemulator@7792 17 /bin/sh $SOURCES_REPOSITORY/$PACKAGE-$VERSION
slaxemulator@7792 18 cd $src
slaxemulator@7792 19 mkdir -p $PWD/_pkg/usr/bin
slaxemulator@7792 20 mkdir -p $PWD/_pkg/usr/share/makeself
slaxemulator@7792 21 cp -a makeself.sh $PWD/_pkg/usr/bin/makeself
slaxemulator@7792 22 cp -a makeself-header.sh $PWD/_pkg/usr/share/makeself
slaxemulator@7792 23 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $PWD/_pkg/usr/bin/makeself
slaxemulator@7792 24
slaxemulator@7792 25 }
slaxemulator@7792 26
slaxemulator@7792 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7792 28 genpkg_rules()
slaxemulator@7792 29 {
slaxemulator@7792 30 mkdir -p $fs/usr
slaxemulator@7792 31 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7792 32 cp -a $_pkg/usr/share $fs/usr
slaxemulator@7792 33 }
slaxemulator@7792 34