summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-03-31 16:48:57 +0000
committerUlrich Müller <ulm@gentoo.org>2015-03-31 16:48:57 +0000
commit5b6e4ea83317615b2c0fb49eb95898038826e5cc (patch)
treef195932a32505f7b2f8417ec8b1ce89bc6bd12c0 /app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild
parentMove package from app-admin to app-eselect category. (diff)
downloadgentoo-2-5b6e4ea83317615b2c0fb49eb95898038826e5cc.tar.gz
gentoo-2-5b6e4ea83317615b2c0fb49eb95898038826e5cc.tar.bz2
gentoo-2-5b6e4ea83317615b2c0fb49eb95898038826e5cc.zip
Move package from app-admin to app-eselect category.
(Portage version: 2.2.18/cvs/Linux x86_64, RepoMan options: --force, signed Manifest commit with key 9433907D693FB5B8!)
Diffstat (limited to 'app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild')
-rw-r--r--app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild b/app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild
new file mode 100644
index 000000000000..937853b69242
--- /dev/null
+++ b/app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-eselect/eselect-gnat/eselect-gnat-1.5.ebuild,v 1.1 2015/03/31 16:48:57 ulm Exp $
+
+inherit eutils
+
+DESCRIPTION="gnat module for eselect"
+HOMEPAGE="http://www.gentoo.org"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~sparc"
+
+IUSE=""
+RDEPEND=">=app-admin/eselect-1.2.5"
+
+MODULEDIR="/usr/share/eselect/modules"
+
+# NOTE!!
+# This path is duplicated in gnat-eselect module,
+# adjust in both locations!
+LIBDIR="/usr/share/gnat/lib"
+
+src_install() {
+ dodir ${MODULEDIR}
+ insinto ${MODULEDIR}
+ newins "${FILESDIR}"/gnat.eselect-${PV} gnat.eselect
+ dodir ${LIBDIR}
+ insinto ${LIBDIR}
+ # !ATTN!
+ # Make sure to adjust version of installed file to a proper one if there is
+ # a change!
+ newins "${FILESDIR}"/gnat-common-1.4-r1.bash gnat-common.bash
+}