wok annotate iron-linux/receipt @ rev 11257
iron-linux: Cookutils uses wget -O $SRC/$TARBALL so we can change TARBALL to save source as TARBALL. This needs to be done for iron-linux cause other wise it will just find iron-linux.tar.gz and use the old version.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Nov 07 11:21:08 2011 +0000 (2011-11-07) |
parents | 4413a1b4b67f |
children | 226e35b1edfc |
rev | line source |
---|---|
paul@6528 | 1 # SliTaz package receipt. |
paul@6528 | 2 |
paul@6528 | 3 PACKAGE="iron-linux" |
paul@11233 | 4 VERSION="14.0.850.0" |
paul@6528 | 5 CATEGORY="network" |
paul@6528 | 6 SHORT_DESC="Secure web browser (Chromium source)." |
paul@6528 | 7 MAINTAINER="paul@slitaz.org" |
paul@7354 | 8 DEPENDS="nss-dev libfirefox GConf cups libjpeg62" # may need updating? |
slaxemulator@11257 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@6528 | 10 WEB_SITE="http://www.srware.net/en/software_srware_iron.php" |
slaxemulator@11257 | 11 WGET_URL="http://www.srware.net/downloads/$PACKAGE.tar.gz" |
paul@6528 | 12 |
pascal@9036 | 13 # Rules to configure and make the package. |
pascal@9036 | 14 compile_rules() |
pascal@9036 | 15 { |
pascal@9037 | 16 mkdir -p $DESTDIR |
pascal@9036 | 17 cp -a $src $DESTDIR/$PACKAGE |
pascal@9036 | 18 } |
pascal@9036 | 19 |
paul@6528 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6528 | 21 genpkg_rules() |
paul@6528 | 22 { |
paul@6528 | 23 mkdir -p $fs/usr/lib |
pascal@9036 | 24 cp -a $_pkg/$PACKAGE $fs/usr/lib |
paul@6528 | 25 # Desktop file |
paul@6528 | 26 cp -a stuff/* $fs |
paul@6528 | 27 } |
paul@6528 | 28 |
paul@6528 | 29 # Create a link to /usr/bin/iron and copy png. |
paul@6528 | 30 post_install() |
paul@6528 | 31 { |
paul@6528 | 32 cp -a $1/usr/lib/iron-linux/product_logo_48.png $1/usr/share/pixmaps/iron.png |
paul@6528 | 33 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron |
paul@6528 | 34 } |
paul@6528 | 35 |
paul@6528 | 36 # Remove link and png. |
paul@6528 | 37 post_remove() |
paul@6528 | 38 { |
paul@6528 | 39 rm -f $1/usr/bin/iron |
paul@6528 | 40 rm -f $1/usr/share/pixmaps/iron.png |
paul@6528 | 41 } |
paul@6528 | 42 |