wok diff licenses/receipt @ rev 19719

transfig: update for libpng >= 1.4.1
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 16 10:08:24 2017 +0100 (2017-02-16)
parents b60a85922696
children
line diff
     1.1 --- a/licenses/receipt	Tue Jun 04 22:20:53 2013 +0000
     1.2 +++ b/licenses/receipt	Thu Feb 16 10:08:24 2017 +0100
     1.3 @@ -8,7 +8,17 @@
     1.4  LICENSE="GPL3"
     1.5  WEB_SITE="http://www.gnu.org/licenses/licenses.html"
     1.6  
     1.7 -DEPENDS=""
     1.8 +EXTRA_SOURCE_FILES="GPL3.html LGPL3.html AGPL3.html FDL1.3.html gpl.txt \
     1.9 +lgpl.txt agpl.txt fdl.txt GPL.html LGPL.html AGPL.html FDL.html \
    1.10 +GPL2.html GPL1.html LGPL2.1.html LGPL2.html FDL1.2.html FDL1.1.html \
    1.11 +MPL2.html MPL1.1.html MPL2.txt MPL1.1.txt"
    1.12 +
    1.13 +src_wget()
    1.14 +{
    1.15 +	local file="$SOURCES_REPOSITORY/$(basename $2)"
    1.16 +	[ -s "$file" ] || wget -O "$file" "$1"
    1.17 +	cp "$file" "$2"
    1.18 +}
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22 @@ -21,31 +31,31 @@
    1.23  	H=-standalone.html
    1.24  	mkdir -p $L
    1.25  	# actual
    1.26 -	wget $G/gpl-3.0$H	-O $L/GPL3.html
    1.27 -	wget $G/lgpl-3.0$H	-O $L/LGPL3.html
    1.28 -	wget $G/agpl-3.0$H	-O $L/AGPL3.html
    1.29 -	wget $G/fdl-1.3$H	-O $L/FDL1.3.html
    1.30 -	wget $G/gpl.txt 	-P $L
    1.31 -	wget $G/lgpl.txt	-P $L
    1.32 -	wget $G/agpl.txt	-P $L
    1.33 -	wget $G/fdl.txt 	-P $L
    1.34 +	src_wget $G/gpl-3.0$H	$L/GPL3.html
    1.35 +	src_wget $G/lgpl-3.0$H	$L/LGPL3.html
    1.36 +	src_wget $G/agpl-3.0$H	$L/AGPL3.html
    1.37 +	src_wget $G/fdl-1.3$H	$L/FDL1.3.html
    1.38 +	src_wget $G/gpl.txt 	$L/gpl.txt
    1.39 +	src_wget $G/lgpl.txt	$L/lgpl.txt
    1.40 +	src_wget $G/agpl.txt	$L/agpl.txt
    1.41 +	src_wget $G/fdl.txt 	$L/fdl.txt
    1.42  	# links to actual
    1.43  	ln -s $l/GPL3.html $L/GPL.html
    1.44  	ln -s $l/LGPL3.html $L/LGPL.html
    1.45  	ln -s $l/AGPL3.html $L/AGPL.html
    1.46  	ln -s $l/FDL1.3.html $L/FDL.html
    1.47  	# old
    1.48 -	wget $O/gpl-2.0$H	-O $L/GPL2.html
    1.49 -	wget $O/gpl-1.0$H	-O $L/GPL1.html
    1.50 -	wget $O/lgpl-2.1$H	-O $L/LGPL2.1.html
    1.51 -	wget $O/lgpl-2.0$H	-O $L/LGPL2.html
    1.52 -	wget $O/fdl-1.2$H	-O $L/FDL1.2.html
    1.53 -	wget $O/fdl-1.1$H	-O $L/FDL1.1.html
    1.54 +	src_wget $O/gpl-2.0$H	$L/GPL2.html
    1.55 +	src_wget $O/gpl-1.0$H	$L/GPL1.html
    1.56 +	src_wget $O/lgpl-2.1$H	$L/LGPL2.1.html
    1.57 +	src_wget $O/lgpl-2.0$H	$L/LGPL2.html
    1.58 +	src_wget $O/fdl-1.2$H	$L/FDL1.2.html
    1.59 +	src_wget $O/fdl-1.1$H	$L/FDL1.1.html
    1.60  
    1.61  	### Mozilla Licenses ###
    1.62 -	wget http://www.mozilla.org/MPL/2.0/	-O $L/MPL2.html
    1.63 -	wget http://www.mozilla.org/MPL/1.1/	-O $L/MPL1.1.html
    1.64 -	wget http://www.mozilla.org/MPL/2.0/index.txt	-O $L/MPL2.txt
    1.65 -	wget http://www.mozilla.org/MPL/1.1/index.txt	-O $L/MPL1.1.txt
    1.66 +	src_wget http://www.mozilla.org/MPL/2.0/	$L/MPL2.html
    1.67 +	src_wget http://www.mozilla.org/MPL/2.0/index.txt	$L/MPL2.txt
    1.68 +	src_wget http://www.mozilla.org/MPL/1.1/	$L/MPL1.1.html
    1.69 +	src_wget http://www.mozilla.org/MPL/1.1/index.txt	$L/MPL1.1.txt
    1.70  
    1.71  }