wok view licenses/receipt @ rev 23175
updated meson (0.50.1 -> 0.53.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Mar 18 11:06:48 2020 +0100 (2020-03-18) |
parents | b60a85922696 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="licenses"
4 VERSION="2013"
5 CATEGORY="development"
6 SHORT_DESC="Various licenses"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3"
9 WEB_SITE="http://www.gnu.org/licenses/licenses.html"
11 EXTRA_SOURCE_FILES="GPL3.html LGPL3.html AGPL3.html FDL1.3.html gpl.txt \
12 lgpl.txt agpl.txt fdl.txt GPL.html LGPL.html AGPL.html FDL.html \
13 GPL2.html GPL1.html LGPL2.1.html LGPL2.html FDL1.2.html FDL1.1.html \
14 MPL2.html MPL1.1.html MPL2.txt MPL1.1.txt"
16 src_wget()
17 {
18 local file="$SOURCES_REPOSITORY/$(basename $2)"
19 [ -s "$file" ] || wget -O "$file" "$1"
20 cp "$file" "$2"
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 ### GNU Licenses ###
27 G=http://www.gnu.org/licenses
28 O=$G/old-licenses
29 l=/usr/share/licenses
30 L=$fs$l
31 H=-standalone.html
32 mkdir -p $L
33 # actual
34 src_wget $G/gpl-3.0$H $L/GPL3.html
35 src_wget $G/lgpl-3.0$H $L/LGPL3.html
36 src_wget $G/agpl-3.0$H $L/AGPL3.html
37 src_wget $G/fdl-1.3$H $L/FDL1.3.html
38 src_wget $G/gpl.txt $L/gpl.txt
39 src_wget $G/lgpl.txt $L/lgpl.txt
40 src_wget $G/agpl.txt $L/agpl.txt
41 src_wget $G/fdl.txt $L/fdl.txt
42 # links to actual
43 ln -s $l/GPL3.html $L/GPL.html
44 ln -s $l/LGPL3.html $L/LGPL.html
45 ln -s $l/AGPL3.html $L/AGPL.html
46 ln -s $l/FDL1.3.html $L/FDL.html
47 # old
48 src_wget $O/gpl-2.0$H $L/GPL2.html
49 src_wget $O/gpl-1.0$H $L/GPL1.html
50 src_wget $O/lgpl-2.1$H $L/LGPL2.1.html
51 src_wget $O/lgpl-2.0$H $L/LGPL2.html
52 src_wget $O/fdl-1.2$H $L/FDL1.2.html
53 src_wget $O/fdl-1.1$H $L/FDL1.1.html
55 ### Mozilla Licenses ###
56 src_wget http://www.mozilla.org/MPL/2.0/ $L/MPL2.html
57 src_wget http://www.mozilla.org/MPL/2.0/index.txt $L/MPL2.txt
58 src_wget http://www.mozilla.org/MPL/1.1/ $L/MPL1.1.html
59 src_wget http://www.mozilla.org/MPL/1.1/index.txt $L/MPL1.1.txt
61 }