wok-current view licenses/receipt @ rev 15581
xorg-cf-files: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 30 11:11:23 2013 +0000 (2013-11-30) |
parents | |
children | 567ddf7c5e0b |
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 DEPENDS=""
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 ### GNU Licenses ###
17 G=http://www.gnu.org/licenses
18 O=$G/old-licenses
19 l=/usr/share/licenses
20 L=$fs$l
21 H=-standalone.html
22 mkdir -p $L
23 # actual
24 wget $G/gpl-3.0$H -O $L/GPL3.html
25 wget $G/lgpl-3.0$H -O $L/LGPL3.html
26 wget $G/agpl-3.0$H -O $L/AGPL3.html
27 wget $G/fdl-1.3$H -O $L/FDL1.3.html
28 wget $G/gpl.txt -P $L
29 wget $G/lgpl.txt -P $L
30 wget $G/agpl.txt -P $L
31 wget $G/fdl.txt -P $L
32 # links to actual
33 ln -s $l/GPL3.html $L/GPL.html
34 ln -s $l/LGPL3.html $L/LGPL.html
35 ln -s $l/AGPL3.html $L/AGPL.html
36 ln -s $l/FDL1.3.html $L/FDL.html
37 # old
38 wget $O/gpl-2.0$H -O $L/GPL2.html
39 wget $O/gpl-1.0$H -O $L/GPL1.html
40 wget $O/lgpl-2.1$H -O $L/LGPL2.1.html
41 wget $O/lgpl-2.0$H -O $L/LGPL2.html
42 wget $O/fdl-1.2$H -O $L/FDL1.2.html
43 wget $O/fdl-1.1$H -O $L/FDL1.1.html
45 ### Mozilla Licenses ###
46 wget http://www.mozilla.org/MPL/2.0/ -O $L/MPL2.html
47 wget http://www.mozilla.org/MPL/1.1/ -O $L/MPL1.1.html
48 wget http://www.mozilla.org/MPL/2.0/index.txt -O $L/MPL2.txt
49 wget http://www.mozilla.org/MPL/1.1/index.txt -O $L/MPL1.1.txt
51 }