# SliTaz package receipt. PACKAGE="iron-linux" VERSION="48.2550.0" CATEGORY="network" SHORT_DESC="A secure web browser based on Chromium." MAINTAINER="paul@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="https://www.srware.net/en/software_srware_iron.php" WGET_URL="https://www.srware.net/downloads/$PACKAGE.tar.gz" TAGS="chromium web-browser" DEPENDS="bash nss libfirefox GConf libcups libjpeg62 libpng libffi x264" # may need updating? # What is the latest version available today? current_version() { wget -O - 'https://www.srware.net/forum/search.php?keywords=iron-linux' 2>/dev/null | \ sed '/Stable for Linux/!d;s|.*Version: ||;s| Stable.*||;q' } # Rules to configure and make the package. compile_rules() { mkdir -p $DESTDIR cp -a $src $DESTDIR/$PACKAGE } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib $fs/usr/share/pixmaps $fs/usr/bin cp -a $install/$PACKAGE $fs/usr/lib cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \ $fs/usr/share/pixmaps/iron.png ln -s /usr/lib/iron-linux/chrome $fs/usr/bin/iron }