wok-next annotate iron-linux/receipt @ rev 20641
Up cogl, cookutils (1053)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 01 16:03:13 2018 +0300 (2018-05-01) |
parents | a3555d456be1 |
children | a3c581bf52b8 |
rev | line source |
---|---|
paul@6528 | 1 # SliTaz package receipt. |
paul@6528 | 2 |
paul@6528 | 3 PACKAGE="iron-linux" |
hackdorte@18989 | 4 VERSION="48.2550.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" |
pascal@15600 | 8 LICENSE="BSD" |
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" |
hackdorte@18989 | 12 TAGS="chromium web-browser" |
paul@6528 | 13 |
al@20454 | 14 DEPENDS="bash nss libfirefox GConf libcups libjpeg62 libpng12 libffi x264" # may need updating? |
pascal@15600 | 15 |
pascal@9036 | 16 # Rules to configure and make the package. |
pascal@9036 | 17 compile_rules() |
pascal@9036 | 18 { |
pascal@9037 | 19 mkdir -p $DESTDIR |
pascal@9036 | 20 cp -a $src $DESTDIR/$PACKAGE |
pascal@9036 | 21 } |
pascal@9036 | 22 |
paul@6528 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6528 | 24 genpkg_rules() |
paul@6528 | 25 { |
samuel_trassare@12005 | 26 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps |
paul@13385 | 27 cp -a $install/$PACKAGE $fs/usr/lib |
samuel_trassare@12005 | 28 cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \ |
samuel_trassare@12005 | 29 $fs/usr/share/pixmaps/iron.png |
paul@6528 | 30 } |
paul@6528 | 31 |
samuel_trassare@12005 | 32 # Create a link to /usr/bin/iron. |
paul@6528 | 33 post_install() |
paul@6528 | 34 { |
pascal@18730 | 35 ln -s /usr/lib/iron-linux/iron "$1/usr/bin/iron" |
paul@6528 | 36 } |
paul@6528 | 37 |
samuel_trassare@12005 | 38 # Remove link. |
paul@6528 | 39 post_remove() |
paul@6528 | 40 { |
pascal@18730 | 41 rm "$1/usr/bin/iron" |
paul@6528 | 42 } |
paul@6528 | 43 |