summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2008-02-28 22:55:51 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2008-02-28 22:55:51 +0000
commit6dd8813f7011306119a8535e043242cd7823bd27 (patch)
tree03dc767d6cc327ab0e0263deec13ebfadb4f5148 /dev-libs
parentamd64 stable wrt bug #211843 (diff)
downloadgentoo-2-6dd8813f7011306119a8535e043242cd7823bd27.tar.gz
gentoo-2-6dd8813f7011306119a8535e043242cd7823bd27.tar.bz2
gentoo-2-6dd8813f7011306119a8535e043242cd7823bd27.zip
add examples flag, bug #111508
(Portage version: 2.1.4.4)
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libxslt/ChangeLog7
-rw-r--r--dev-libs/libxslt/libxslt-1.1.22.ebuild14
2 files changed, 14 insertions, 7 deletions
diff --git a/dev-libs/libxslt/ChangeLog b/dev-libs/libxslt/ChangeLog
index 7c92095661f1..48f77ac6bb47 100644
--- a/dev-libs/libxslt/ChangeLog
+++ b/dev-libs/libxslt/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/libxslt
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.171 2007/11/27 03:33:42 jer Exp $
+# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/ChangeLog,v 1.172 2008/02/28 22:55:51 eva Exp $
+
+ 28 Feb 2008; Gilles Dartiguelongue <eva@gentoo.org> libxslt-1.1.22.ebuild:
+ add examples flag, bug #111508
27 Nov 2007; Jeroen Roovers <jer@gentoo.org> libxslt-1.1.22.ebuild:
Stable for HPPA (bug #199322).
diff --git a/dev-libs/libxslt/libxslt-1.1.22.ebuild b/dev-libs/libxslt/libxslt-1.1.22.ebuild
index 243fe5e6c874..651f8e815aea 100644
--- a/dev-libs/libxslt/libxslt-1.1.22.ebuild
+++ b/dev-libs/libxslt/libxslt-1.1.22.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.22.ebuild,v 1.10 2007/12/11 10:01:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libxslt/libxslt-1.1.22.ebuild,v 1.11 2008/02/28 22:55:51 eva Exp $
inherit libtool eutils python
@@ -10,7 +10,7 @@ HOMEPAGE="http://www.xmlsoft.org/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="crypt debug python"
+IUSE="crypt debug examples python"
DEPEND=">=dev-libs/libxml2-2.6.27
crypt? ( >=dev-libs/libgcrypt-1.1.92 )
@@ -19,7 +19,7 @@ DEPEND=">=dev-libs/libxml2-2.6.27
SRC_URI="ftp://xmlsoft.org/${PN}/${P}.tar.gz"
src_unpack() {
- unpack "${A}"
+ unpack ${A}
cd "${S}"
# we still require the 1.1.8 patch for the .m4 file, to add
@@ -61,7 +61,11 @@ src_compile() {
}
src_install() {
- make DESTDIR="${D}" install || die "Installation failed"
+ emake DESTDIR="${D}" install || die "Installation failed"
dodoc AUTHORS ChangeLog Copyright FEATURES NEWS README TODO
+
+ if ! use examples; then
+ rm -rf "${D}/usr/share/doc/${PN}-python-${PV}/examples"
+ fi
}