wok-next view licenses/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | d43bf7aae921 |
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 local file="$SRC/$(basename $2)"
18 [ -s "$file" ] || wget -O "$file" "$1"
19 cp "$file" "$2"
20 }
22 genpkg_rules() {
23 ### GNU Licenses ###
24 G=http://www.gnu.org/licenses
25 O=$G/old-licenses
26 l=/usr/share/licenses
27 L=$fs$l
28 H=-standalone.html
29 mkdir -p $L
30 # actual
31 src_wget $G/gpl-3.0$H $L/GPL3.html
32 src_wget $G/lgpl-3.0$H $L/LGPL3.html
33 src_wget $G/agpl-3.0$H $L/AGPL3.html
34 src_wget $G/fdl-1.3$H $L/FDL1.3.html
35 src_wget $G/gpl.txt $L/gpl.txt
36 src_wget $G/lgpl.txt $L/lgpl.txt
37 src_wget $G/agpl.txt $L/agpl.txt
38 src_wget $G/fdl.txt $L/fdl.txt
39 # links to actual
40 ln -s $l/GPL3.html $L/GPL.html
41 ln -s $l/LGPL3.html $L/LGPL.html
42 ln -s $l/AGPL3.html $L/AGPL.html
43 ln -s $l/FDL1.3.html $L/FDL.html
44 # old
45 src_wget $O/gpl-2.0$H $L/GPL2.html
46 src_wget $O/gpl-1.0$H $L/GPL1.html
47 src_wget $O/lgpl-2.1$H $L/LGPL2.1.html
48 src_wget $O/lgpl-2.0$H $L/LGPL2.html
49 src_wget $O/fdl-1.2$H $L/FDL1.2.html
50 src_wget $O/fdl-1.1$H $L/FDL1.1.html
52 ### Mozilla Licenses ###
53 src_wget http://www.mozilla.org/MPL/2.0/ $L/MPL2.html
54 src_wget http://www.mozilla.org/MPL/2.0/index.txt $L/MPL2.txt
55 src_wget http://www.mozilla.org/MPL/1.1/ $L/MPL1.1.html
56 src_wget http://www.mozilla.org/MPL/1.1/index.txt $L/MPL1.1.txt
57 }