summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-13 02:26:57 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-13 02:26:57 +0000
commit505e68473b314b66735f2b52e78940cf188f381c (patch)
tree55e99a385138c30c493b8effaa66304b9407b477 /dev-libs/tinyxml
parentAutomated update of use.local.desc (diff)
downloadgentoo-2-505e68473b314b66735f2b52e78940cf188f381c.tar.gz
gentoo-2-505e68473b314b66735f2b52e78940cf188f381c.tar.bz2
gentoo-2-505e68473b314b66735f2b52e78940cf188f381c.zip
Initial commit.
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/tinyxml')
-rw-r--r--dev-libs/tinyxml/ChangeLog10
-rw-r--r--dev-libs/tinyxml/metadata.xml9
-rw-r--r--dev-libs/tinyxml/tinyxml-2.5.3_p20090813.ebuild49
3 files changed, 68 insertions, 0 deletions
diff --git a/dev-libs/tinyxml/ChangeLog b/dev-libs/tinyxml/ChangeLog
new file mode 100644
index 000000000000..353cb4becc2d
--- /dev/null
+++ b/dev-libs/tinyxml/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-libs/tinyxml
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tinyxml/ChangeLog,v 1.1 2009/08/13 02:26:57 ssuominen Exp $
+
+*tinyxml-2.5.3_p20090813 (13 Aug 2009)
+
+ 13 Aug 2009; Samuli Suominen <ssuominen@gentoo.org>
+ +tinyxml-2.5.3_p20090813.ebuild:
+ Initial commit wrt #90041.
+
diff --git a/dev-libs/tinyxml/metadata.xml b/dev-libs/tinyxml/metadata.xml
new file mode 100644
index 000000000000..7cc5007c5d79
--- /dev/null
+++ b/dev-libs/tinyxml/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ssuominen@gentoo.org</email>
+ <name>Samuli Suominen</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-libs/tinyxml/tinyxml-2.5.3_p20090813.ebuild b/dev-libs/tinyxml/tinyxml-2.5.3_p20090813.ebuild
new file mode 100644
index 000000000000..0df5fe8af58e
--- /dev/null
+++ b/dev-libs/tinyxml/tinyxml-2.5.3_p20090813.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/tinyxml/tinyxml-2.5.3_p20090813.ebuild,v 1.1 2009/08/13 02:26:57 ssuominen Exp $
+
+EAPI="2"
+
+DESCRIPTION="a simple, small, C++ XML parser that can be easily integrating into other programs"
+HOMEPAGE="http://www.grinninglizard.com/tinyxml/index.html"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="debug doc"
+
+RDEPEND=""
+DEPEND="dev-util/scons
+ doc? ( app-doc/doxygen )"
+
+src_prepare() {
+ sed -i -e 's:-O3::' SConstruct || die "sed failed"
+}
+
+src_compile() {
+ local debug=0
+ use debug && debug=1
+
+ scons debug=${debug} program=0 sharedlibrary=1 staticlibrary=1 \
+ . || die "scons failed"
+
+ if use doc; then
+ doxygen dox || die "doxygen failed"
+ fi
+}
+
+src_install() {
+ dolib.so *.so || die "dolib.so failed"
+ dolib.a *.a || die "dolib.a failed"
+
+ insinto /usr/include
+ doins *.h || die "doins failed"
+
+ dodoc {changes,readme}.txt || die "dodoc failed"
+
+ if use doc; then
+ dodoc tutorial_gettingStarted.txt || die "dodoc failed"
+ dohtml -r docs/* || die "dohtml failed"
+ fi
+}