summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild b/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild
index e9c3d356a6ba..88fa1ef7347a 100644
--- a/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild
+++ b/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild,v 1.2 2009/08/04 23:33:39 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/egenix-mx-base/egenix-mx-base-3.1.2.ebuild,v 1.3 2009/08/25 14:27:04 arfrever Exp $
EAPI="2"
SUPPORT_PYTHON_ABIS="1"
@@ -49,4 +49,12 @@ src_install() {
dohtml -a html -r mx
insinto /usr/share/doc/${PF}
find "${S}" -iname "*.pdf" | xargs doins
+
+ installation_of_headers() {
+ dodir "$(python_get_includedir)/mx"
+ find "${D}$(python_get_sitedir)/mx" -type f -name "*.h" -print0 | while read -d $'\0' header; do
+ mv -f "${header}" "${D}$(python_get_includedir)/mx"
+ done
+ }
+ python_execute_function --action-message 'Installation of headers with Python ${PYTHON_ABI}' installation_of_headers
}