summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-03-03 00:40:41 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-03-03 00:40:41 +0000
commitc65174ecffd5ccb12d07a8ab11f56373d7fdc510 (patch)
treeec9f77d2cbb2eb4ee888dffa5d03209c23a80df0 /dev-libs/xmlwrapp
parentNew release (1.2 final). 1.2_beta stable on x86. (diff)
downloadhistorical-c65174ecffd5ccb12d07a8ab11f56373d7fdc510.tar.gz
historical-c65174ecffd5ccb12d07a8ab11f56373d7fdc510.tar.bz2
historical-c65174ecffd5ccb12d07a8ab11f56373d7fdc510.zip
Fix deps; added doc and test to IUSE. Dont hardcode -O2 in CXXFLAGS. Don't build the examples. See bug 83795.
Package-Manager: portage-2.0.51.18
Diffstat (limited to 'dev-libs/xmlwrapp')
-rw-r--r--dev-libs/xmlwrapp/ChangeLog9
-rw-r--r--dev-libs/xmlwrapp/Manifest18
-rw-r--r--dev-libs/xmlwrapp/files/digest-xmlwrapp-0.5.0-r12
-rw-r--r--dev-libs/xmlwrapp/metadata.xml6
-rw-r--r--dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild53
5 files changed, 78 insertions, 10 deletions
diff --git a/dev-libs/xmlwrapp/ChangeLog b/dev-libs/xmlwrapp/ChangeLog
index 057787186a0f..7858c9e26aa2 100644
--- a/dev-libs/xmlwrapp/ChangeLog
+++ b/dev-libs/xmlwrapp/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-libs/xmlwrapp
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlwrapp/ChangeLog,v 1.10 2005/02/12 12:05:45 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlwrapp/ChangeLog,v 1.11 2005/03/03 00:40:41 ka0ttic Exp $
+
+*xmlwrapp-0.5.0-r1 (02 Mar 2005)
+
+ 02 Mar 2005; Aaron Walker <ka0ttic@gentoo.org> metadata.xml,
+ +xmlwrapp-0.5.0-r1.ebuild:
+ Fix deps; added doc and test to IUSE. Dont hardcode -O2 in CXXFLAGS. Don't
+ build the examples. See bug 83795.
12 Feb 2005; Mamoru KOMACHI <usata@gentoo.org> xmlwrapp-0.4.4.ebuild:
Fixed bug #79503.
diff --git a/dev-libs/xmlwrapp/Manifest b/dev-libs/xmlwrapp/Manifest
index 9ad0ed56fe72..005f8e415faa 100644
--- a/dev-libs/xmlwrapp/Manifest
+++ b/dev-libs/xmlwrapp/Manifest
@@ -1,17 +1,19 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 f8328ff4715de8a1074c31efe148bb07 ChangeLog 1376
-MD5 c472f5fd1646eb8bca71d8df5cb2bdcc metadata.xml 164
-MD5 9a07a5ca69d6975d81bbeb7770bac009 xmlwrapp-0.4.4.ebuild 1016
+MD5 e1a3a06341d41f1f02c4c727a630a608 xmlwrapp-0.5.0-r1.ebuild 1401
MD5 1379b575366d3cb3ffa8d958a43d846a xmlwrapp-0.5.0.ebuild 981
-MD5 55066e7026cd8b9a9f6820015d0a986c files/xmlwrapp-gentoo.diff 469
+MD5 9a07a5ca69d6975d81bbeb7770bac009 xmlwrapp-0.4.4.ebuild 1016
+MD5 2c6af7c787fdb7f206ebf8908d52470b ChangeLog 1619
+MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254
MD5 00b7f4c2544aca35df2b6186090bd1fa files/digest-xmlwrapp-0.4.4 66
MD5 2d028e0206e5e904262763672a00d4ea files/digest-xmlwrapp-0.5.0 66
+MD5 55066e7026cd8b9a9f6820015d0a986c files/xmlwrapp-gentoo.diff 469
+MD5 bbba6eba8abf58b5f9bed1fc32ae8214 files/digest-xmlwrapp-0.5.0-r1 130
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.2.6 (GNU/Linux)
+Version: GnuPG v1.4.0 (GNU/Linux)
-iD8DBQFCDe8EVWNWqTUmv+0RAkUrAJ9eVIY/2HIkiqN4wIbAHX0vy8kOlACeImg+
-ITP4HXj7dB1MSzyaGSvuvQw=
-=bsfF
+iD8DBQFCJl0cEZCkKN40op4RAg9cAKCBnHdd1L/8bp922PlKbTq68dAsFwCfUx5K
+z+0VV4TRQRpS6nr+0dKvOUo=
+=B70x
-----END PGP SIGNATURE-----
diff --git a/dev-libs/xmlwrapp/files/digest-xmlwrapp-0.5.0-r1 b/dev-libs/xmlwrapp/files/digest-xmlwrapp-0.5.0-r1
new file mode 100644
index 000000000000..18c171385115
--- /dev/null
+++ b/dev-libs/xmlwrapp/files/digest-xmlwrapp-0.5.0-r1
@@ -0,0 +1,2 @@
+MD5 b8a07e77f8f8af9ca96bccab7d9dd310 xmlwrapp-0.5.0.tar.gz 110002
+MD5 9288804c785abd58af33fd67fde6193c xmlwrapp-api.tar.gz 178488
diff --git a/dev-libs/xmlwrapp/metadata.xml b/dev-libs/xmlwrapp/metadata.xml
index 06689a1a9114..d31152aca840 100644
--- a/dev-libs/xmlwrapp/metadata.xml
+++ b/dev-libs/xmlwrapp/metadata.xml
@@ -1,5 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>text-markup</herd>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>ka0ttic@gentoo.org</email>
+ <name>Aaron Walker</name>
+ </maintainer>
</pkgmetadata>
diff --git a/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild b/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild
new file mode 100644
index 000000000000..f73f9a43feef
--- /dev/null
+++ b/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/xmlwrapp/xmlwrapp-0.5.0-r1.ebuild,v 1.1 2005/03/03 00:40:41 ka0ttic Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="modern style C++ library that provides a simple and easy interface to libxml2"
+HOMEPAGE="http://pmade.org/software/xmlwrapp/"
+SRC_URI="http://pmade.org/software/xmlwrapp/download/${P}.tar.gz
+doc? ( http://pmade.org/software/xmlwrapp/download/documentation/${PN}-api.tar.gz )"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="doc test"
+
+RDEPEND="virtual/libc
+ dev-libs/libxml2
+ dev-libs/libxslt"
+DEPEND="${RDEPEND}
+ dev-lang/perl
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-gentoo.diff
+ sed -i 's/-O2//' tools/cxxflags || die "sed tools/cxxflags failed"
+}
+
+src_compile() {
+ local myconf="--prefix /usr --disable-examples"
+ use test && myconf="${myconf} --enable-tests"
+
+ export CXX="$(tc-getCXX)"
+ ./configure.pl ${myconf} || die "configure failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ sed -i "s%/usr%${D}/usr%g" Makefile || die "sed Makefile failed"
+ make install || die "make install failed"
+
+ dodoc README docs/{CREDITS,TODO,VERSION}
+ if use doc ; then
+ dohtml ${WORKDIR}/${PN}-api/*
+ cd examples
+ for ex in 0* ; do
+ docinto examples/${ex}
+ dodoc ${ex}/*
+ done
+ fi
+}