You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-eselect/eselect-gnat/eselect-gnat-1.4.ebuild

36 lines
888 B

# 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.4.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"
IUSE=""
RDEPEND="app-admin/eselect"
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.3-r1.bash gnat-common.bash
}