wok-next annotate makeself/receipt @ rev 18889

Up slitaz-boot-scripts (424), slitaz-tools (965), tazusb (183)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 12 16:01:42 2016 +0100 (2016-02-12)
parents 1ec92e652f66
children d5aab818505e
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"
pascal@15584 8 LICENSE="GPL2"
slaxemulator@9272 9 TARBALL="$PACKAGE-$VERSION.run"
slaxemulator@7792 10 WEB_SITE="http://megastep.org/makeself"
pankso@10646 11 WGET_URL="http://megastep.org/makeself/$PACKAGE-$VERSION.run"
slaxemulator@7792 12
slaxemulator@7792 13 # Rules to configure and make the package.
slaxemulator@7792 14 compile_rules()
slaxemulator@7792 15 {
slaxemulator@7792 16 cd $src
pascal@15584 17 mkdir -p $DESTDIR/usr/bin
pascal@15584 18 mkdir -p $DESTDIR/usr/share/makeself
pascal@15584 19 cp -a makeself.sh $DESTDIR/usr/bin/makeself
pascal@15584 20 cp -a makeself-header.sh $DESTDIR/usr/share/makeself
pascal@15584 21 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $DESTDIR/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
pascal@15584 29 cp -a $install/usr/bin $fs/usr
pascal@15584 30 cp -a $install/usr/share $fs/usr
slaxemulator@7792 31 }
slaxemulator@7792 32