wok-current view makeself/receipt @ rev 8639

Up: slitaz-menus to 1.8. Added Education directory for menu. Also add applications-engineering and applications-science icons from gnome-icon-theme. Both 16 and 32 sizes.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 15 03:49:26 2011 +0000 (2011-02-15)
parents
children 61e9a91fcb83
line source
1 # SliTaz package receipt.
3 PACKAGE="makeself"
4 VERSION="2.1.5"
5 CATEGORY="development"
6 SHORT_DESC="Utility to create self-extraction packages."
7 MAINTAINER="slaxemulator@gmail.com"
8 WEB_SITE="http://megastep.org/makeself"
9 WGET="http://megastep.org/makeself/makeself.run"
11 # Rules to configure and make the package.
12 compile_rules()
13 {
14 [ -f $SOURCES_REPOSITORY/$PACKAGE-$VERSION ] ||
15 wget $WGET -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION
16 cd $WOK/$PACKAGE
17 /bin/sh $SOURCES_REPOSITORY/$PACKAGE-$VERSION
18 cd $src
19 mkdir -p $PWD/_pkg/usr/bin
20 mkdir -p $PWD/_pkg/usr/share/makeself
21 cp -a makeself.sh $PWD/_pkg/usr/bin/makeself
22 cp -a makeself-header.sh $PWD/_pkg/usr/share/makeself
23 sed -e 's|HEADER=`dirname $0`/makeself-header.sh|HEADER=/usr/share/makeself/makeself-header.sh|' -i $PWD/_pkg/usr/bin/makeself
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share $fs/usr
33 }