wok-current annotate licenses/receipt @ rev 17652
Up: tcl 8.6.3
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Feb 14 22:32:45 2015 +0000 (2015-02-14) |
parents | |
children | 567ddf7c5e0b |
rev | line source |
---|---|
al@14652 | 1 # SliTaz package receipt. |
al@14652 | 2 |
al@14652 | 3 PACKAGE="licenses" |
al@14652 | 4 VERSION="2013" |
al@14652 | 5 CATEGORY="development" |
al@14652 | 6 SHORT_DESC="Various licenses" |
al@14652 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@14652 | 8 LICENSE="GPL3" |
al@14652 | 9 WEB_SITE="http://www.gnu.org/licenses/licenses.html" |
al@14652 | 10 |
al@14652 | 11 DEPENDS="" |
al@14652 | 12 |
al@14652 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@14652 | 14 genpkg_rules() |
al@14652 | 15 { |
al@14652 | 16 ### GNU Licenses ### |
al@14652 | 17 G=http://www.gnu.org/licenses |
al@14652 | 18 O=$G/old-licenses |
al@14652 | 19 l=/usr/share/licenses |
al@14652 | 20 L=$fs$l |
al@14652 | 21 H=-standalone.html |
al@14652 | 22 mkdir -p $L |
al@14652 | 23 # actual |
al@14652 | 24 wget $G/gpl-3.0$H -O $L/GPL3.html |
al@14652 | 25 wget $G/lgpl-3.0$H -O $L/LGPL3.html |
al@14652 | 26 wget $G/agpl-3.0$H -O $L/AGPL3.html |
al@14652 | 27 wget $G/fdl-1.3$H -O $L/FDL1.3.html |
al@14652 | 28 wget $G/gpl.txt -P $L |
al@14652 | 29 wget $G/lgpl.txt -P $L |
al@14652 | 30 wget $G/agpl.txt -P $L |
al@14652 | 31 wget $G/fdl.txt -P $L |
al@14652 | 32 # links to actual |
al@14652 | 33 ln -s $l/GPL3.html $L/GPL.html |
al@14652 | 34 ln -s $l/LGPL3.html $L/LGPL.html |
al@14652 | 35 ln -s $l/AGPL3.html $L/AGPL.html |
al@14652 | 36 ln -s $l/FDL1.3.html $L/FDL.html |
al@14652 | 37 # old |
al@14652 | 38 wget $O/gpl-2.0$H -O $L/GPL2.html |
al@14652 | 39 wget $O/gpl-1.0$H -O $L/GPL1.html |
al@14652 | 40 wget $O/lgpl-2.1$H -O $L/LGPL2.1.html |
al@14652 | 41 wget $O/lgpl-2.0$H -O $L/LGPL2.html |
al@14652 | 42 wget $O/fdl-1.2$H -O $L/FDL1.2.html |
al@14652 | 43 wget $O/fdl-1.1$H -O $L/FDL1.1.html |
al@14652 | 44 |
al@14652 | 45 ### Mozilla Licenses ### |
al@14652 | 46 wget http://www.mozilla.org/MPL/2.0/ -O $L/MPL2.html |
al@14652 | 47 wget http://www.mozilla.org/MPL/1.1/ -O $L/MPL1.1.html |
al@14652 | 48 wget http://www.mozilla.org/MPL/2.0/index.txt -O $L/MPL2.txt |
al@14652 | 49 wget http://www.mozilla.org/MPL/1.1/index.txt -O $L/MPL1.1.txt |
al@14652 | 50 |
al@14652 | 51 } |