diff options
Diffstat (limited to 'dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild')
-rw-r--r-- | dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild b/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild index 1b6678993bcf..ff971b0f4ecf 100644 --- a/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild +++ b/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild @@ -1,13 +1,12 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild,v 1.3 2005/02/25 02:12:29 joem Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild,v 1.4 2005/04/23 18:55:09 ka0ttic Exp $ -IUSE="doc" - -inherit gnome2 +inherit gnome2 multilib -MY_P=${P/pp/++} -S=${WORKDIR}/${MY_P} +MY_PN="${PN/pp/++}" +MY_P="${MY_PN}-${PV}" +S="${WORKDIR}/${MY_P}" DESCRIPTION="C++ wrapper for the libxml XML parser library" HOMEPAGE="http://libxmlplusplus.sourceforge.net/" @@ -16,6 +15,7 @@ SRC_URI="mirror://gnome/sources/libxml++/${PV%.*}/${MY_P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="2.6" KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="doc" RDEPEND=">=dev-libs/libxml2-2.6.1 >=dev-cpp/glibmm-2.4" @@ -25,6 +25,7 @@ DEPEND="${RDEPEND} doc? ( app-doc/doxygen )" MAKEOPTS="${MAKEOPTS} -j1" +DOCS="AUTHORS ChangeLog NEWS README*" src_compile() { gnome2_src_compile @@ -36,7 +37,7 @@ src_compile() { src_install() { gnome2_src_install + dosed -i 's|^\(Cflags.*-I.* \)-I.*$|\1|' \ + /usr/$(get_libdir)/pkgconfig/${MY_PN}-${SLOT}.pc use doc && dohtml docs/reference/${PV%.*}/html/* } - -DOCS="AUTHORS ChangeLog NEWS README*" |