wok-next diff get-java6-jre/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents d958fec46c9f
children 0cbe4b1f2230
line diff
     1.1 --- a/get-java6-jre/receipt	Tue Jul 10 20:08:05 2018 +0300
     1.2 +++ b/get-java6-jre/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,20 +1,19 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="get-java6-jre"
     1.8  VERSION="1.1.0"
     1.9  CATEGORY="non-free"
    1.10  SHORT_DESC="SUN Java Runtime"
    1.11 -MAINTAINER="erjo@slitaz.org"
    1.12 +MAINTAINER="devel@slitaz.org"
    1.13  LICENSE="GPL3"
    1.14 -WEB_SITE="http://www.java.com"
    1.15 +WEB_SITE="https://www.java.com/en/"
    1.16  REPOLOGY="-"
    1.17  
    1.18 -TAGS="java"
    1.19 -
    1.20 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.21 -genpkg_rules()
    1.22 -{
    1.23 -	mkdir -p $fs/usr/bin
    1.24 -	install -o root -g root -m755 stuff/get-java6-jre $fs/usr/bin
    1.25 +compile_rules() {
    1.26 +	install -Dm755 $stuff/$PACKAGE $install/usr/bin/$PACKAGE
    1.27  }
    1.28  
    1.29 +genpkg_rules() {
    1.30 +	copy @std
    1.31 +	TAGS="java"
    1.32 +}