wok-6.x annotate makeself/receipt @ rev 8623

Fix: libarchive doesn't need acl hack anymore: acl files are now installed to the right location.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Feb 14 20:54:26 2011 +0100 (2011-02-14)
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