wok-next diff iron-linux/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d2950281f122
children
line diff
     1.1 --- a/iron-linux/receipt	Wed Sep 05 00:08:37 2018 +0300
     1.2 +++ b/iron-linux/receipt	Sat Nov 21 14:32:44 2020 +0100
     1.3 @@ -3,7 +3,7 @@
     1.4  PACKAGE="iron-linux"
     1.5  VERSION="48.2550.0"
     1.6  CATEGORY="network"
     1.7 -SHORT_DESC="A secure web browser based on Chromium."
     1.8 +SHORT_DESC="A secure web browser based on Chromium"
     1.9  MAINTAINER="paul@slitaz.org"
    1.10  LICENSE="BSD"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.12 @@ -11,33 +11,24 @@
    1.13  WGET_URL="https://www.srware.net/downloads/$PACKAGE.tar.gz"
    1.14  TAGS="chromium web-browser"
    1.15  
    1.16 -DEPENDS="bash nss libfirefox gconf libcups libjpeg62 libpng12 libffi x264" # may need updating?
    1.17 +DEPENDS="bash nss libfirefox gconf libcups libjpeg6b libpng12 libffi x264" # may need updating?
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 -	mkdir -p $DESTDIR
    1.23 -	cp -a $src $DESTDIR/$PACKAGE
    1.24 +compile_rules() {
    1.25 +	mkdir -p $install
    1.26 +	cp -a $src $install/$PACKAGE
    1.27  }
    1.28  
    1.29 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.30 -genpkg_rules()
    1.31 -{
    1.32 +genpkg_rules() {
    1.33  	mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
    1.34  	cp -a $install/$PACKAGE $fs/usr/lib
    1.35  	cp -a $fs/usr/lib/$PACKAGE/product_logo_48.png \
    1.36  		$fs/usr/share/pixmaps/iron.png
    1.37  }
    1.38  
    1.39 -# Create a link to /usr/bin/iron.
    1.40 -post_install()
    1.41 -{
    1.42 +post_install() {
    1.43  	ln -s /usr/lib/iron-linux/iron "$1/usr/bin/iron"
    1.44  }
    1.45  
    1.46 -# Remove link.
    1.47 -post_remove()
    1.48 -{
    1.49 +post_remove() {
    1.50  	rm "$1/usr/bin/iron"
    1.51  }
    1.52 -