1 |
commit: db311587056138b58c02418401ab9b091927e869 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Dec 25 13:33:34 2019 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Dec 25 13:33:34 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db311587 |
7 |
|
8 |
dev-libs/mxml: drop old version |
9 |
|
10 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
11 |
|
12 |
dev-libs/mxml/Manifest | 1 - |
13 |
dev-libs/mxml/mxml-3.0.ebuild | 62 ------------------------------------------- |
14 |
2 files changed, 63 deletions(-) |
15 |
|
16 |
diff --git a/dev-libs/mxml/Manifest b/dev-libs/mxml/Manifest |
17 |
index cec6fece84f..1558e0e6048 100644 |
18 |
--- a/dev-libs/mxml/Manifest |
19 |
+++ b/dev-libs/mxml/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST mxml-3.0.tar.gz 9266886 BLAKE2B d5d3481cfd1d015c620ef897bfc21e839ad2a70f5ffd58973f8435e0e6a66abd477f8fcaacfab05ce608314fed27241702becb60b49b8492560bcc9418b317f5 SHA512 3c540348022226b122ce014f183368cda6631600a11d8f4d43c99c62fba2f3ca4b23dff4122082f63915b59a46a5475d1d12d0081f9315c65f5c044ac3c751d6 |
22 |
DIST mxml-3.1.tar.gz 9267206 BLAKE2B d5cee24804978b474bf5b58c7a5932b50d7197a35e65da20c2517ce7db01d22027449348d6b15ddf0d186219ac81993055deaa4af9f48439273f8d2d74b27edd SHA512 8f8923b394093db5c471c52c17185916bc3c91f66c97de66919bfef2a09f271879a52f285e5fc4ded03484a3f83ba8fdb588d985b06e0c25ee001f1a80ffa586 |
23 |
|
24 |
diff --git a/dev-libs/mxml/mxml-3.0.ebuild b/dev-libs/mxml/mxml-3.0.ebuild |
25 |
deleted file mode 100644 |
26 |
index 11e65313529..00000000000 |
27 |
--- a/dev-libs/mxml/mxml-3.0.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,62 +0,0 @@ |
30 |
-# Copyright 1999-2019 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
- |
35 |
-inherit autotools |
36 |
- |
37 |
-DESCRIPTION="A small XML parsing library that you can use to read XML data files or strings" |
38 |
-HOMEPAGE=" |
39 |
- https://github.com/michaelrsweet/mxml |
40 |
- https://www.msweet.org/mxml/ |
41 |
-" |
42 |
-SRC_URI="https://github.com/michaelrsweet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="Mini-XML" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86" |
47 |
-IUSE="static-libs threads" |
48 |
- |
49 |
-BDEPEND="virtual/pkgconfig" |
50 |
- |
51 |
-src_prepare() { |
52 |
- default |
53 |
- |
54 |
- # Respect users CFLAGS |
55 |
- sed -e 's/-Os -g//' -i configure.ac || die |
56 |
- |
57 |
- # Don't run always tests |
58 |
- # Enable verbose compiling |
59 |
- sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die |
60 |
- |
61 |
- # Build only static-libs, when requested by user, also build docs without static-libs in that case |
62 |
- if ! use static-libs; then |
63 |
- local mysedopts=( |
64 |
- -e '/^install:/s/install-libmxml.a//g' |
65 |
- -e '/^mxml.xml:/s/-static//g' |
66 |
- -e '/^mxml.epub:/s/-static//g' |
67 |
- -e '/^valgrind/s/-static//g' |
68 |
- -e 's/.\/mxmldoc-static/LD_LIBRARY_PATH="." .\/mxmldoc/g' |
69 |
- ) |
70 |
- sed "${mysedopts[@]}" -i Makefile.in || die |
71 |
- fi |
72 |
- |
73 |
- eautoconf |
74 |
-} |
75 |
- |
76 |
-src_configure() { |
77 |
- local myeconfopts=( |
78 |
- $(use_enable threads) |
79 |
- --with-docdir=/usr/share/doc/"${PF}" |
80 |
- ) |
81 |
- |
82 |
- econf "${myeconfopts[@]}" |
83 |
-} |
84 |
- |
85 |
-src_test() { |
86 |
- emake testmxml |
87 |
-} |
88 |
- |
89 |
-src_install() { |
90 |
- emake DSTROOT="${ED}" install |
91 |
-} |