summaryrefslogtreecommitdiff
path: root/dev-util/xmlindent
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-03-16 18:48:52 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-03-16 18:48:52 +0000
commitf265f17242b04ae036b4dc174fa95401d895dbc5 (patch)
tree8daa848087a673b8bf5dad576b0a08048d551da7 /dev-util/xmlindent
parentd08ea43e9ada434f42f4be8e115b67ab22ce38af (diff)
gentoo auto-resync : 16:03:2024 - 18:48:51
Diffstat (limited to 'dev-util/xmlindent')
-rw-r--r--dev-util/xmlindent/Manifest1
-rw-r--r--dev-util/xmlindent/xmlindent-0.2.17-r3.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-util/xmlindent/Manifest b/dev-util/xmlindent/Manifest
index da5434b29ba6..de5ab8753e3a 100644
--- a/dev-util/xmlindent/Manifest
+++ b/dev-util/xmlindent/Manifest
@@ -1,3 +1,4 @@
DIST xmlindent-0.2.17.tar.gz 18333 BLAKE2B 5d72679e95cfa9528a94222b31b320993b32588ea18c48b251ceb24147eed57a5308f6ed2ae68a9a2d620107c21b512f16ebc51caa834225b138700f66e2a3d5 SHA512 ab4b46dbd68f29e7adba6283485eb9d1c614ece640c18e1eabbe7f0e1e6f27f14d00d694e4e1981aaf66e0ddcf208c6cb2c80dda1cbeb0ceb1a40987a419f716
EBUILD xmlindent-0.2.17-r2.ebuild 614 BLAKE2B d7c93c97002b6a79e961137e7f5679868900d0051487e05b03874c1aef7264665a0e7301f21b6dd94dd78a5cf189b48287558bcffc59f130c278179b51e14939 SHA512 c86ac3e236fd67c385c4140d91c10a5ec0fdf630683a937479c32caaa0145b962129b3aa524e21df3bda8c457dcbc1934e7a388e20bb272dc71e33a24e9a572f
+EBUILD xmlindent-0.2.17-r3.ebuild 619 BLAKE2B 3ea706fea228dc6caf807a64da5850e720365bf26b0bba7d30f5ae8d9c41e74225ad2b4e55b189a73930f37ad19c6449f0ade87b2808302a1222cd2382cfe8bf SHA512 c451bd27958c224514028ecccc5a67b9bb821c0930b14cf29de7720dbc78f31d280440d0d56f8a387d143d05c68b4fc046549c6367e4a406aec5e492605b52a8
MISC metadata.xml 331 BLAKE2B 233de2a864bae041e94a50d4e99444c765ef4377195b531d23c94d69854b4c586e5f59eee07da0bec189cc9903fa9595eaf4df74d7d05ba3c715120b6b5816c4 SHA512 58723aacde572323bb7889ab297142a29e7126ef1ec9069e04698755fb841a68c95718f3c7011cfc2b30799169c82198f03fcdd6887d6dc1b466dbb864ad7cd7
diff --git a/dev-util/xmlindent/xmlindent-0.2.17-r3.ebuild b/dev-util/xmlindent/xmlindent-0.2.17-r3.ebuild
new file mode 100644
index 000000000000..d8030208821d
--- /dev/null
+++ b/dev-util/xmlindent/xmlindent-0.2.17-r3.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="XML stream reformatter for ASCII text, but not UTF-8, written in ANSI C"
+HOMEPAGE="https://xmlindent.sourceforge.net/"
+SRC_URI="mirror://sourceforge/xmlindent/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="app-alternatives/lex"
+
+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
+}