summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-04-03 17:06:29 +0000
committerJustin Lecher <jlec@gentoo.org>2013-04-03 17:06:29 +0000
commit089e92f7dc2fcbab55a1cd1e959958132810b96f (patch)
treed2d79f01c073ab0ff7d3fb9db037e979b3841136 /dev-libs/dee
parentUse a pre-built gnuplot.info file, to fix a build failure with texinfo-5.1. B... (diff)
downloadgentoo-2-089e92f7dc2fcbab55a1cd1e959958132810b96f.tar.gz
gentoo-2-089e92f7dc2fcbab55a1cd1e959958132810b96f.tar.bz2
gentoo-2-089e92f7dc2fcbab55a1cd1e959958132810b96f.zip
dev-libs/dee: Fix installation of examples, #464374
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)
Diffstat (limited to 'dev-libs/dee')
-rw-r--r--dev-libs/dee/ChangeLog5
-rw-r--r--dev-libs/dee/dee-1.0.14-r2.ebuild22
2 files changed, 15 insertions, 12 deletions
diff --git a/dev-libs/dee/ChangeLog b/dev-libs/dee/ChangeLog
index 35430834ecc3..9dc716008d26 100644
--- a/dev-libs/dee/ChangeLog
+++ b/dev-libs/dee/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/dee
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dee/ChangeLog,v 1.16 2013/04/03 10:48:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dee/ChangeLog,v 1.17 2013/04/03 17:06:29 jlec Exp $
+
+ 03 Apr 2013; Justin Lecher <jlec@gentoo.org> dee-1.0.14-r2.ebuild:
+ Fix installation of examples, #464374
*dee-1.0.14-r2 (03 Apr 2013)
diff --git a/dev-libs/dee/dee-1.0.14-r2.ebuild b/dev-libs/dee/dee-1.0.14-r2.ebuild
index 685ee1740403..e00aad8c27f0 100644
--- a/dev-libs/dee/dee-1.0.14-r2.ebuild
+++ b/dev-libs/dee/dee-1.0.14-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/dee/dee-1.0.14-r2.ebuild,v 1.1 2013/04/03 10:48:51 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/dee/dee-1.0.14-r2.ebuild,v 1.2 2013/04/03 17:06:29 jlec Exp $
EAPI=5
@@ -55,34 +55,34 @@ src_configure() {
# $(use_enable test extended-tests)
)
autotools-utils_src_configure
- python_copy_sources
+ use introspection && python_copy_sources
}
src_compile() {
autotools-utils_src_compile
compilation() {
- cd "${BUILD_DIR}"/bindings || die
+ cd bindings || die
emake \
pyexecdir="$(python_get_sitedir)"
}
- use introspection && python_foreach_impl compilation
+ use introspection && python_foreach_impl run_in_build_dir compilation
}
src_install() {
autotools-utils_src_install
+ if use examples; then
+ insinto /usr/share/doc/${PN}/
+ doins -r examples
+ fi
+
installation() {
- cd "${BUILD_DIR}"/bindings || die
+ cd bindings || die
emake \
PYGI_OVERRIDES_DIR="$(python_get_sitedir)"/gi/overrides \
DESTDIR="${D}" \
install
}
- use introspection && python_foreach_impl installation
-
- if use examples; then
- insinto /usr/share/doc/${PN}/
- doins -r examples
- fi
+ use introspection && python_foreach_impl run_in_build_dir installation
}