wok-6.x diff licenses/receipt @ rev 15057
codiad: use config.example.php
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 10:34:38 2013 +0000 (2013-08-13) |
parents | |
children | 567ddf7c5e0b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/licenses/receipt Tue Aug 13 10:34:38 2013 +0000 1.3 @@ -0,0 +1,51 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="licenses" 1.7 +VERSION="2013" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Various licenses" 1.10 +MAINTAINER="al.bobylev@gmail.com" 1.11 +LICENSE="GPL3" 1.12 +WEB_SITE="http://www.gnu.org/licenses/licenses.html" 1.13 + 1.14 +DEPENDS="" 1.15 + 1.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.17 +genpkg_rules() 1.18 +{ 1.19 + ### GNU Licenses ### 1.20 + G=http://www.gnu.org/licenses 1.21 + O=$G/old-licenses 1.22 + l=/usr/share/licenses 1.23 + L=$fs$l 1.24 + H=-standalone.html 1.25 + mkdir -p $L 1.26 + # actual 1.27 + wget $G/gpl-3.0$H -O $L/GPL3.html 1.28 + wget $G/lgpl-3.0$H -O $L/LGPL3.html 1.29 + wget $G/agpl-3.0$H -O $L/AGPL3.html 1.30 + wget $G/fdl-1.3$H -O $L/FDL1.3.html 1.31 + wget $G/gpl.txt -P $L 1.32 + wget $G/lgpl.txt -P $L 1.33 + wget $G/agpl.txt -P $L 1.34 + wget $G/fdl.txt -P $L 1.35 + # links to actual 1.36 + ln -s $l/GPL3.html $L/GPL.html 1.37 + ln -s $l/LGPL3.html $L/LGPL.html 1.38 + ln -s $l/AGPL3.html $L/AGPL.html 1.39 + ln -s $l/FDL1.3.html $L/FDL.html 1.40 + # old 1.41 + wget $O/gpl-2.0$H -O $L/GPL2.html 1.42 + wget $O/gpl-1.0$H -O $L/GPL1.html 1.43 + wget $O/lgpl-2.1$H -O $L/LGPL2.1.html 1.44 + wget $O/lgpl-2.0$H -O $L/LGPL2.html 1.45 + wget $O/fdl-1.2$H -O $L/FDL1.2.html 1.46 + wget $O/fdl-1.1$H -O $L/FDL1.1.html 1.47 + 1.48 + ### Mozilla Licenses ### 1.49 + wget http://www.mozilla.org/MPL/2.0/ -O $L/MPL2.html 1.50 + wget http://www.mozilla.org/MPL/1.1/ -O $L/MPL1.1.html 1.51 + wget http://www.mozilla.org/MPL/2.0/index.txt -O $L/MPL2.txt 1.52 + wget http://www.mozilla.org/MPL/1.1/index.txt -O $L/MPL1.1.txt 1.53 + 1.54 +}