diff options
author | 2020-11-15 00:38:05 +0100 | |
---|---|---|
committer | 2020-11-15 00:39:11 +0100 | |
commit | 79cf06b75e0a52d27bed23660478b6195cde27ef (patch) | |
tree | 180aa0670dc89523cf525431a1952a99e5fc8634 /dev-libs/mxml/mxml-3.1.ebuild | |
parent | sys-apps/cpuid: drop old version (diff) | |
download | gentoo-79cf06b75e0a52d27bed23660478b6195cde27ef.tar.gz gentoo-79cf06b75e0a52d27bed23660478b6195cde27ef.tar.bz2 gentoo-79cf06b75e0a52d27bed23660478b6195cde27ef.zip |
dev-libs/mxml: drop old version
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'dev-libs/mxml/mxml-3.1.ebuild')
-rw-r--r-- | dev-libs/mxml/mxml-3.1.ebuild | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/dev-libs/mxml/mxml-3.1.ebuild b/dev-libs/mxml/mxml-3.1.ebuild deleted file mode 100644 index 588f6e63e67c..000000000000 --- a/dev-libs/mxml/mxml-3.1.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="A small XML parsing library that you can use to read XML data files or strings" -HOMEPAGE=" - https://github.com/michaelrsweet/mxml - https://www.msweet.org/mxml/ -" -SRC_URI="https://github.com/michaelrsweet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="Mini-XML" -SLOT="0" -KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ppc ~ppc64 ~sparc x86" -IUSE="static-libs threads" - -BDEPEND="virtual/pkgconfig" - -src_prepare() { - default - - # Respect users CFLAGS - sed -e 's/-Os -g//' -i configure.ac || die - - # Don't run always tests - # Enable verbose compiling - sed -e '/ALLTARGETS/s/testmxml//g' -e '/.SILENT:/d' -i Makefile.in || die - - # Build only static-libs, when requested by user, also build docs without static-libs in that case - if ! use static-libs; then - local mysedopts=( - -e '/^install:/s/install-libmxml.a//g' - -e '/^mxml.xml:/s/-static//g' - -e '/^mxml.epub:/s/-static//g' - -e '/^valgrind/s/-static//g' - -e 's/.\/mxmldoc-static/LD_LIBRARY_PATH="." .\/mxmldoc/g' - ) - sed "${mysedopts[@]}" -i Makefile.in || die - fi - - eautoconf -} - -src_configure() { - local myeconfargs=( - $(use_enable threads) - --with-docdir=/usr/share/doc/"${PF}" - ) - - econf "${myeconfargs[@]}" -} - -src_test() { - emake testmxml -} - -src_install() { - emake DSTROOT="${ED}" install -} |