diff options
Diffstat (limited to 'dev-util/xmlindent')
-rw-r--r-- | dev-util/xmlindent/Manifest | 6 | ||||
-rw-r--r-- | dev-util/xmlindent/metadata.xml | 11 | ||||
-rw-r--r-- | dev-util/xmlindent/xmlindent-0.2.17-r1.ebuild | 34 | ||||
-rw-r--r-- | dev-util/xmlindent/xmlindent-0.2.17-r2.ebuild | 33 |
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-util/xmlindent/Manifest b/dev-util/xmlindent/Manifest new file mode 100644 index 000000000000..0b4fc1592039 --- /dev/null +++ b/dev-util/xmlindent/Manifest @@ -0,0 +1,6 @@ +DIST xmlindent-0.2.17.tar.gz 18333 SHA256 3a0f6887b696087b8dad4901d3994954214dbbd78499eaf622b9a85060cf254c SHA512 ab4b46dbd68f29e7adba6283485eb9d1c614ece640c18e1eabbe7f0e1e6f27f14d00d694e4e1981aaf66e0ddcf208c6cb2c80dda1cbeb0ceb1a40987a419f716 WHIRLPOOL 28b9ea143efb19152554ef5aa69dce6dd0652df3bc84ff36fc23ac9ac7804b3b43716917b0bbc043bf37680df492c0c1cd9358644b22b2037c4fc15baeee3c01 +EBUILD xmlindent-0.2.17-r1.ebuild 680 SHA256 cb6720645ee39dc403e01c4dc7412f38cb474d3e37b85b56cb750d6a18335802 SHA512 279abeb88c326649fbfeac981d6ebfe517975cce1219f88c9aaf4444ee5b3d90072bd0d34012d9f2fe194801df60d9a649ba3399d600f88a2613c9c38c0f3ebf WHIRLPOOL bd199a589c1ec0522ff94aa9bb2df57b670fe605484bbf97e61593b58c62bc0bf4d3700703700c0cfebdb3a0cb163599e251f4e3584628af330a0b56d21a6bd8 +EBUILD xmlindent-0.2.17-r2.ebuild 581 SHA256 5fb02f0dc5b5bbb23f205225895e48d8c261eb98081dcc517a68689ca4139b7e SHA512 c017027f6d44239e0bccfb2c3807843db464433915eedf807425d93c24e2a62f3c31fa1aafbc973be242207502d85ba7902517b33eec7c85c9af04b7d31e7acb WHIRLPOOL 02ade18dce61b168a6b24e83a14f92328e01060579b4258037d2d7ad763d18741940630e1106c0092dce24138e4494dda8d1ced1dee6c9dcd5c477634555bd07 +MISC ChangeLog 2774 SHA256 3a93db0626f9d3be7597a62274d267712e5bbec6faf431bdf5e3ab9d97bb3ea8 SHA512 9cf19b55db6911fcb99bc1943d7b6013ad30b928ced6a9173d40d4857e0e9ecaedd3f14530e207817114eb6f3028024634c20e40aeb63bb19f1b413f71493edc WHIRLPOOL 5e7e8514f95bbc490f5a5d7330fef2403e6054e9dceb9156e67f3f766482372c85873f45f2ffa82931e93407ea207c4966a7d245b3bfc385dc8468be19d54c78 +MISC ChangeLog-2015 1246 SHA256 bc65b5302530474e8bde6d3c421dacb57b52576a78bc1c86028ed0854423f576 SHA512 b302c9ebc3b8bec9cd7b4572e5714d0c1bfccb6dd1becd164b2cd0e3e8cb410274ffc6d188e3c95b56973663119676ea815b4f426b73735b8490fcdbd5cce22f WHIRLPOOL 21d9085566314c8508cb88af335936e6f9dbd76ba30a62c7a4b9572d3794da3e1c74e89d6960ff7d8606a82c3cdacf7b86d09b2ae9447d536b60fe1c50c8b28a +MISC metadata.xml 330 SHA256 17d87474e3e28be15a2818bd10bce842e969e540cd02f1c7b7de997a1e5816dc SHA512 0b23db5bd25122e4498effc8a36b9015e619b68cebacc103849c9827ebc9e73c790334b7bc90e771f5da8946ba3ac41aff9458a5dc13784fe1ffbfd0379476f5 WHIRLPOOL 64054b873653234fbefcb9eb97ae6628a34b25779b5a998b32ded8bdf0d5153159115390f8439620561250d872c7867a1b9ec6304a9038f14519ce631615deae 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-r1.ebuild b/dev-util/xmlindent/xmlindent-0.2.17-r1.ebuild new file mode 100644 index 000000000000..c0b6bcefc271 --- /dev/null +++ b/dev-util/xmlindent/xmlindent-0.2.17-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="2" + +inherit toolchain-funcs + +DESCRIPTION="XML Indent is an XML stream reformatter written in ANSI C, analogous to GNU indent" +HOMEPAGE="http://xmlindent.sourceforge.net/" +SRC_URI="mirror://sourceforge/xmlindent/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" + +IUSE="" +DEPEND="sys-devel/flex" +RDEPEND="" + +src_prepare() { + sed -i Makefile \ + -e 's|gcc|$(CC)|g' \ + -e 's|-g|$(CFLAGS) $(LDFLAGS) |g' \ + || die "sed failed" +} + +src_compile() { + tc-export CC + emake || die "emake failed" +} + +src_install() { + dobin xmlindent || die "dobin failed" + doman *.1 +} 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..89968bf87eff --- /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 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 +} |