logo

overlay

Personnal gentoo overlay
commit: 99101121686b5734a93d6caa5d916646e95400bd
parent: 62052050b5b9f2fc71049eea893ac8f51df3032e
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 16 Dec 2017 07:34:01 +0100

dev-libs/pugixml: Import from ::gentoo

Diffstat:

dev-libs/pugixml/Manifest | 1+
dev-libs/pugixml/metadata.xml | 8++++++++
dev-libs/pugixml/pugixml-1.8.ebuild | 20++++++++++++++++++++
3 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/dev-libs/pugixml/Manifest b/dev-libs/pugixml/Manifest @@ -0,0 +1 @@ +DIST pugixml-1.8.tar.gz 357806 BLAKE2B 7f7b9c0a1e51186b6511c53dfd11a3fabbc28343e87fcb98c0480a6b8216bb6dbbfc7bc6bfa7b06b649061910b542747a60c7b04d76b5683f4d823da5f9d4dcc SHA512 f59d83e6685949ab392fb08a60b9153f709697e7c1f93989c3d07ac1817b381fa13b2bea23914de803c4db090e3f503d943db0baf53597f7f8c7d734e8028f42 diff --git a/dev-libs/pugixml/metadata.xml b/dev-libs/pugixml/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> +</maintainer> +</pkgmetadata> diff --git a/dev-libs/pugixml/pugixml-1.8.ebuild b/dev-libs/pugixml/pugixml-1.8.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +CMAKE_MAKEFILE_GENERATOR=emake + +inherit cmake-utils + +DESCRIPTION="Light-weight, simple, and fast XML parser for C++ with XPath support" +HOMEPAGE="https://pugixml.org/ https://github.com/zeux/pugixml/" +SRC_URI="https://github.com/zeux/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~ia64 ppc ppc64 x86 ~x86-fbsd ~amd64-linux ~x86-linux" + +src_configure() { + local mycmakeargs=( -DBUILD_SHARED_LIBS=ON ) + cmake-utils_src_configure +}