summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild')
-rw-r--r--app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild29
1 files changed, 29 insertions, 0 deletions
diff --git a/app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild b/app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild
new file mode 100644
index 000000000000..e39891fed56a
--- /dev/null
+++ b/app-eselect/eselect-opencascade/eselect-opencascade-0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+DESCRIPTION="Manages opencascade env file"
+HOMEPAGE="http://www.gentoo.org/proj/en/eselect/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}"
+
+src_install() {
+ dodir /etc/env.d/opencascade
+ insinto /usr/share/eselect/modules
+ newins "${FILESDIR}"/${P}.eselect opencascade.eselect
+}
+
+pkg_postrm() {
+ rm -v "${EROOT}"etc/env.d/51opencascade
+}