wok annotate iron-linux/receipt @ rev 13175
atk: fix tarball
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 30 10:59:32 2012 +0200 (2012-07-30) |
parents | 19d0f8eab6b6 |
children | 8f6acafcf637 |
rev | line source |
---|---|
paul@6528 | 1 # SliTaz package receipt. |
paul@6528 | 2 |
paul@6528 | 3 PACKAGE="iron-linux" |
paul@12022 | 4 VERSION="17.0.1000.0" |
paul@6528 | 5 CATEGORY="network" |
samuel_trassare@12005 | 6 SHORT_DESC="A secure web browser based on Chromium." |
paul@6528 | 7 MAINTAINER="paul@slitaz.org" |
samuel_trassare@12005 | 8 DEPENDS="nss libfirefox GConf cups libjpeg62 libffi" # 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 { |
samuel_trassare@12005 | 23 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
pascal@9036 | 24 cp -a $_pkg/$PACKAGE $fs/usr/lib |
samuel_trassare@12005 | 25 cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \ |
samuel_trassare@12005 | 26 $fs/usr/share/pixmaps/iron.png |
paul@6528 | 27 } |
paul@6528 | 28 |
samuel_trassare@12005 | 29 # Create a link to /usr/bin/iron. |
paul@6528 | 30 post_install() |
paul@6528 | 31 { |
paul@6528 | 32 ln -s $1/usr/lib/iron-linux/iron $1/usr/bin/iron |
paul@6528 | 33 } |
paul@6528 | 34 |
samuel_trassare@12005 | 35 # Remove link. |
paul@6528 | 36 post_remove() |
paul@6528 | 37 { |
samuel_trassare@12005 | 38 rm /usr/bin/iron |
paul@6528 | 39 } |
paul@6528 | 40 |