1 |
commit: a9ddc2a88d224e26913f56428a92ca3000df35d6 |
2 |
Author: Mark Wright <gienah <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 2 01:01:26 2016 +0000 |
4 |
Commit: Mark Wright <gienah <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 2 01:01:26 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9ddc2a8 |
7 |
|
8 |
dev-libs/mathjax: Bump to 2.7.0 |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
dev-libs/mathjax/Manifest | 1 + |
13 |
dev-libs/mathjax/mathjax-2.7.0.ebuild | 59 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/mathjax/Manifest b/dev-libs/mathjax/Manifest |
17 |
index c53d25d..0af2911 100644 |
18 |
--- a/dev-libs/mathjax/Manifest |
19 |
+++ b/dev-libs/mathjax/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST mathjax-2.2.tar.gz 8974100 SHA256 7879b59d2992bc31cda0d8b9d4f8fb47d4435f3129e421be46cc6d3136ed7449 SHA512 11987a959a7b154ea8df4ad93ce6193eed930affcfbfd2ba3fd965356c3ea957ef73a3ea6830a841bbe81f64ed0d9a78ab9fd74d0cbf011671b7d174cdc1f80c WHIRLPOOL 5bfba913fe1d768561c52154b714791afd8721673c2b404e3f4dd2b0c18855843521baf6ac534bb07826d475f83e81b4131e218d2e359f329b9cc8f143e40899 |
22 |
DIST mathjax-2.4.0.tar.gz 23048567 SHA256 cd7175e1e352793942a976bf40692b954b5169bd28533921a8a8dd4ec865d855 SHA512 1f1cd590d0d584e38a51920e1d92e7dd1e0b8a0660b1ad29b522a5ced4d6c1f7d00074500d726aeee04c04f10c963944d1ef6aa2a662d7b53df609f9270b8de0 WHIRLPOOL 0b9dc53d1070a587261e770fe16a118171b40fa4d5de88a580726c1b9181d6d264c936eb68721798610e7d15a69c861d4b0454566ea1072a541c80a4bd5b6093 |
23 |
DIST mathjax-2.5.3.tar.gz 23257294 SHA256 d24fcd6e66db4d79177513fbd25be9b75bff30f2a379199e8a05d5051fed5df3 SHA512 007b3d4e7d4224746ea8996838f6d208ee6dd04a6c2e3dc38b6e7ad83421732d4f5c5b9b6714183d0a25a46fdc1a9cd73a6ca769f29dbe3f36c79a5ca0ee1178 WHIRLPOOL a25f492d649dca6a0fe99602d8aecbf8538aef5bec56fd41b72208f68deac733f3e6ca109b2eb351c1d3ee3de6ed8b75eb3724b85cae8f717a6ac78b788fea96 |
24 |
+DIST mathjax-2.7.0.tar.gz 24594403 SHA256 4944dd3995417c7692b64462698054760d38ff72175f66e2f2a007c5031d5927 SHA512 2a7c2b4a4991485c18f78dda4115da05a31c1a2d952c403726e99d22fd26f166298199238ad482e53b63b5414be687f325b586f5ebe4e2d552447c929415b350 WHIRLPOOL ba8467e31b21c7fa5503b91d578bd7c8b85182221f3c19ad1535dcbfab89e72c2ed83b8a796982865062efd44cd495f54e00975c2a87e6a4d1fe96f2e9690bab |
25 |
|
26 |
diff --git a/dev-libs/mathjax/mathjax-2.7.0.ebuild b/dev-libs/mathjax/mathjax-2.7.0.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000..0878d5f |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/mathjax/mathjax-2.7.0.ebuild |
31 |
@@ -0,0 +1,59 @@ |
32 |
+# Copyright 1999-2016 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+# $Id$ |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+inherit eutils |
39 |
+ |
40 |
+DESCRIPTION="JavaScript display engine for LaTeX, MathML and AsciiMath" |
41 |
+HOMEPAGE="http://www.mathjax.org/" |
42 |
+SRC_URI="https://github.com/mathjax/MathJax/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
47 |
+IUSE="doc examples" |
48 |
+ |
49 |
+RESTRICT="binchecks strip" |
50 |
+ |
51 |
+S=${WORKDIR}/MathJax-${PV} |
52 |
+ |
53 |
+make_webconf() { |
54 |
+ # web server config file - should we really do this? |
55 |
+ cat > $1 <<-EOF |
56 |
+ Alias /MathJax/ ${EPREFIX}${webinstalldir}/ |
57 |
+ Alias /mathjax/ ${EPREFIX}${webinstalldir}/ |
58 |
+ |
59 |
+ <Directory ${EPREFIX}${webinstalldir}> |
60 |
+ Options None |
61 |
+ AllowOverride None |
62 |
+ Order allow,deny |
63 |
+ Allow from all |
64 |
+ </Directory> |
65 |
+ EOF |
66 |
+} |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ egit_clean |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ local DOCS=( README* ) |
75 |
+ use doc && local HTML_DOCS=( docs/html/* ) |
76 |
+ default |
77 |
+ if use examples; then |
78 |
+ insinto /usr/share/${PN}/examples |
79 |
+ doins -r test/* |
80 |
+ fi |
81 |
+ rm -r test docs LICENSE README* || die |
82 |
+ |
83 |
+ webinstalldir=/usr/share/${PN} |
84 |
+ insinto ${webinstalldir} |
85 |
+ doins -r * |
86 |
+ |
87 |
+ make_webconf MathJax.conf |
88 |
+ insinto /etc/httpd/conf.d |
89 |
+ doins MathJax.conf |
90 |
+} |