summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-admin/bcfg2/bcfg2-1.0.1.ebuild')
-rw-r--r--app-admin/bcfg2/bcfg2-1.0.1.ebuild14
1 files changed, 8 insertions, 6 deletions
diff --git a/app-admin/bcfg2/bcfg2-1.0.1.ebuild b/app-admin/bcfg2/bcfg2-1.0.1.ebuild
index 58815e54073a..0b37c228fc1c 100644
--- a/app-admin/bcfg2/bcfg2-1.0.1.ebuild
+++ b/app-admin/bcfg2/bcfg2-1.0.1.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/bcfg2/bcfg2-1.0.1.ebuild,v 1.1 2010/01/22 16:06:50 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/bcfg2/bcfg2-1.0.1.ebuild,v 1.2 2010/02/20 07:38:40 abcd Exp $
+
+EAPI=3
inherit distutils
@@ -14,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
LICENSE="BSD"
SLOT="1"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
IUSE="server"
DEPEND="app-portage/gentoolkit
@@ -25,13 +27,13 @@ DEPEND="app-portage/gentoolkit
RDEPEND="${DEPEND}"
src_install() {
- distutils_src_install --record=PY_SERVER_LIBS --install-scripts /usr/sbin
+ distutils_src_install --record=PY_SERVER_LIBS --install-scripts "${EPREFIX}"/usr/sbin
# Remove files only necessary for a server installation
if ! use server; then
- rm -rf "${D}"/usr/sbin/bcfg2-*
- rm -rf "${D}"/usr/share/bcfg2
- rm -rf "${D}"/usr/share/man/man8
+ rm -rf "${ED}"/usr/sbin/bcfg2-*
+ rm -rf "${ED}"/usr/share/bcfg2
+ rm -rf "${ED}"/usr/share/man/man8
fi
# Install a server init.d script