diff options
Diffstat (limited to 'dev-util/xmlindent')
-rw-r--r-- | dev-util/xmlindent/Manifest | 3 | ||||
-rw-r--r-- | dev-util/xmlindent/metadata.xml | 11 | ||||
-rw-r--r-- | dev-util/xmlindent/xmlindent-0.2.17-r2.ebuild | 33 |
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-util/xmlindent/Manifest b/dev-util/xmlindent/Manifest new file mode 100644 index 000000000000..7930f8777c2e --- /dev/null +++ b/dev-util/xmlindent/Manifest @@ -0,0 +1,3 @@ +DIST xmlindent-0.2.17.tar.gz 18333 BLAKE2B 5d72679e95cfa9528a94222b31b320993b32588ea18c48b251ceb24147eed57a5308f6ed2ae68a9a2d620107c21b512f16ebc51caa834225b138700f66e2a3d5 SHA512 ab4b46dbd68f29e7adba6283485eb9d1c614ece640c18e1eabbe7f0e1e6f27f14d00d694e4e1981aaf66e0ddcf208c6cb2c80dda1cbeb0ceb1a40987a419f716 +EBUILD xmlindent-0.2.17-r2.ebuild 611 BLAKE2B 6ac161b5a804c642bf270e6f8675ecd5a51c759ed828dee70c456d2ebffffb9c814da56a8940ebe56756d5cd7033df1854a26ae8105dbf56087ed10bf39c9d43 SHA512 201330b1e86adb054dd5863d8c5d07fe2f70d3eac18edd8ae1262b710db1162784a1da0f8e3b1f5ec87de67e8c51ee8f845bdbe884043e9dc000db7687285eab +MISC metadata.xml 330 BLAKE2B 4e83d8f1654b617fc1e2dd887e2523e7e8fdee3ec0cec2b3196f15576a9992c42601f630033da60555ea153a83fd80f7c2ddefb6bac9cfb31eb58e0fe0168d84 SHA512 0b23db5bd25122e4498effc8a36b9015e619b68cebacc103849c9827ebc9e73c790334b7bc90e771f5da8946ba3ac41aff9458a5dc13784fe1ffbfd0379476f5 diff --git a/dev-util/xmlindent/metadata.xml b/dev-util/xmlindent/metadata.xml new file mode 100644 index 000000000000..9cd695dbdcf0 --- /dev/null +++ b/dev-util/xmlindent/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>monsieurp@gentoo.org</email> + <name>Patrice Clement</name> + </maintainer> + <upstream> + <remote-id type="sourceforge">xmlindent</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-util/xmlindent/xmlindent-0.2.17-r2.ebuild b/dev-util/xmlindent/xmlindent-0.2.17-r2.ebuild new file mode 100644 index 000000000000..3b038a3ca663 --- /dev/null +++ b/dev-util/xmlindent/xmlindent-0.2.17-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="XML stream reformatter for ASCII text, but not UTF-8, written in ANSI C" +HOMEPAGE="http://xmlindent.sourceforge.net/" +SRC_URI="mirror://sourceforge/xmlindent/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +DEPEND="sys-devel/flex" + +src_prepare() { + default + sed -i Makefile \ + -e 's|gcc|$(CC)|g' \ + -e 's|-g|$(CFLAGS) $(LDFLAGS) |g' \ + || die "sed failed" +} + +src_compile() { + tc-export CC + emake +} + +src_install() { + dobin "${PN}" + doman *.1 +} |