diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-libs/mini-xml |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-libs/mini-xml')
-rw-r--r-- | dev-libs/mini-xml/Manifest | 5 | ||||
-rw-r--r-- | dev-libs/mini-xml/metadata.xml | 12 | ||||
-rw-r--r-- | dev-libs/mini-xml/mini-xml-2.10.ebuild | 61 |
3 files changed, 78 insertions, 0 deletions
diff --git a/dev-libs/mini-xml/Manifest b/dev-libs/mini-xml/Manifest new file mode 100644 index 000000000000..b34b950c4f44 --- /dev/null +++ b/dev-libs/mini-xml/Manifest @@ -0,0 +1,5 @@ +DIST mxml-2.10.tar.gz 265398 SHA256 267ff58b64ddc767170d71dab0c729c06f45e1df9a9b6f75180b564f09767891 SHA512 c3838611979c4228df476166e4e987fc1ff8f9b8bd30139066b475dcd99e25be81ecc5171235bc80b1c2291c9d78c9ceae9a1dfc928272a983740d6a67372f5c WHIRLPOOL 295721b5b80021bfec4fb3f377e2bd75d0a387def3f6f13cf473363ee0e8d6cfc6d431dfb5eb839eda691e7317cace40cba4233272fc84ed336102ce022ffef4 +EBUILD mini-xml-2.10.ebuild 1331 SHA256 83af09c125357199dc57eb25aae2a19dfad55cd2f8caaf4b3a40b0b1eaedf061 SHA512 40186ea59b0ae8f77c27144205ca01d2de015c4a035d0b3dfff43603116b31c696d29ccc68b52b7177f43c8c8eabd1de629a2585e5e01602a58335d7db927d55 WHIRLPOOL b17a91d65e1a47a09b1281cc47df1d3cfcbdaf54df0dc0a715f8d7b871ca4138a46068be5f8af58996df0eb1e16255b6279dbe39e8d48fff77ad583d7250ed72 +MISC ChangeLog 3907 SHA256 1bbc55e723bf7d4a19f274e9a7cd9b0edbadf69a2921c7b76986d2d70b5709aa SHA512 dc807d149fa9709b14c2bfd8b04d4f7d4840528a519f9a4fa2e86ccedab19925ce6a7338e5c3b10890cd04667df7c86b329a2d0212188abc379ba17b6db05092 WHIRLPOOL 765a78f0e9f88b2078682ee725ae7a74e815fcb6c782caf65d7130c0295b0ee39e048a14714e8c9d2b97ac524b2881e38c2d0c7e3c1b36eff0266b81f7971beb +MISC ChangeLog-2015 5100 SHA256 c53c7d2c48fd4e678445d117b312fa3680b526fbffaa1cf287edcbacc3c4a779 SHA512 68432faf15522c8528e87f10a2acb40d4f6d51f6754ec976f3f2ab1af062bc76da1a394fc7f247dd4b7f4dabd0b50255e75050fc6ea1dedd7e7d8ee56ffd2e7f WHIRLPOOL a7b64da3153607934baba95390edeb3c29e7e71e4423d3779066bb3f05231a765bfe8f8d86baccfc4cf020b428871f6463f7449e5f013482a29330972e153ea3 +MISC metadata.xml 351 SHA256 4cd2bcc2283c89028a149f4c330cce82540164562ba998c7095bc540b4c633aa SHA512 dad538833ec388605a2ad9e3facb368a12b010c769855e795314ba5aeb9224cb87a363e7d3ebc385ca578a0a29e16374a7e0aedbf29478599c558d134416cde6 WHIRLPOOL b7aeb35e0b89578aab8fde81cf77801eb772e9548330fe9b4ad8915988db120d173382bac8695c7c50406c017157de8d02103e4b0ee31104c1430af3dd14518d diff --git a/dev-libs/mini-xml/metadata.xml b/dev-libs/mini-xml/metadata.xml new file mode 100644 index 000000000000..32d70436a670 --- /dev/null +++ b/dev-libs/mini-xml/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>ruepel@gmx.li</email> + <name>RĂ¼pel</name> + </maintainer> +<maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> +</pkgmetadata> diff --git a/dev-libs/mini-xml/mini-xml-2.10.ebuild b/dev-libs/mini-xml/mini-xml-2.10.ebuild new file mode 100644 index 000000000000..bf99808a3df3 --- /dev/null +++ b/dev-libs/mini-xml/mini-xml-2.10.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools + +MY_P="${P/mini-xml/mxml}" + +DESCRIPTION="Small XML parsing library to read XML and XML-like data files" +HOMEPAGE="http://www.minixml.org/" +SRC_URI="http://www.msweet.org/files/project3/${MY_P}.tar.gz" + +LICENSE="Mini-XML" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ~ppc64 x86" +IUSE="threads static-libs" + +DEPEND="virtual/pkgconfig" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + sed -e "s:755 -s:755:" \ + -e "/^TARGETS/s: testmxml::" \ + -e 's:$(DSO) $(DSOFLAGS) -o libmxml.so.1.5 $(LIBOBJS):$(DSO) $(DSOFLAGS) $(LDFLAGS) -o libmxml.so.1.5 $(LIBOBJS):' \ + -i Makefile.in || die + sed -i -e 's:OPTIM="-Os -g":OPTIM="":' configure.ac || die + rm configure || die + #eautoreconf + eautoconf +} + +src_configure() { + econf \ + --enable-shared \ + --libdir="/usr/$(get_libdir)" \ + --with-docdir="/usr/share/doc/${PF}/html" \ + $(use_enable threads) +} + +src_compile() { + emake libmxml.so.1.5 mxmldoc doc/mxml.man +} + +src_install() { + emake DSTROOT="${ED}" install + + if ! use static-libs; then + rm "${ED}"/usr/$(get_libdir)/libmxml.a || die + fi + + dodoc ANNOUNCEMENT CHANGES README + rm "${ED}/usr/share/doc/${PF}/html/"{CHANGES,COPYING,README} || die +} + +src_test() { + emake testmxml +} |