wok annotate iron-linux/receipt @ rev 25060
Up fakeroot (1.29)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 07 08:21:12 2022 +0000 (2022-06-07) |
parents | 59bc2c6956c3 |
children |
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" |
pascal@20669 | 10 WEB_SITE="https://www.srware.net/en/software_srware_iron.php" |
pascal@20669 | 11 WGET_URL="https://www.srware.net/downloads/$PACKAGE.tar.gz" |
hackdorte@18989 | 12 TAGS="chromium web-browser" |
paul@6528 | 13 |
hackdorte@18989 | 14 DEPENDS="bash nss libfirefox GConf libcups libjpeg62 libpng libffi x264" # may need updating? |
pascal@15600 | 15 |
pascal@24744 | 16 # What is the latest version available today? |
pascal@24744 | 17 current_version() |
pascal@24744 | 18 { |
pascal@24744 | 19 wget -O - 'https://www.srware.net/forum/search.php?keywords=iron-linux' 2>/dev/null | \ |
pascal@24744 | 20 sed '/Stable for Linux/!d;s|.*Version: ||;s| Stable.*||;q' |
pascal@24744 | 21 } |
pascal@24744 | 22 |
pascal@9036 | 23 # Rules to configure and make the package. |
pascal@9036 | 24 compile_rules() |
pascal@9036 | 25 { |
pascal@9037 | 26 mkdir -p $DESTDIR |
pascal@9036 | 27 cp -a $src $DESTDIR/$PACKAGE |
pascal@9036 | 28 } |
pascal@9036 | 29 |
paul@6528 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@6528 | 31 genpkg_rules() |
paul@6528 | 32 { |
pascal@20678 | 33 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/bin |
paul@13385 | 34 cp -a $install/$PACKAGE $fs/usr/lib |
samuel_trassare@12005 | 35 cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \ |
samuel_trassare@12005 | 36 $fs/usr/share/pixmaps/iron.png |
pascal@20675 | 37 ln -s /usr/lib/iron-linux/chrome $fs/usr/bin/iron |
paul@6528 | 38 } |