summaryrefslogtreecommitdiff
blob: 88935383088e929742183554e4e2262f143345de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

MY_P="${P/_p/-}"
DESCRIPTION="TOMOYO Linux tools"
HOMEPAGE="http://www.sourcefoge.jp/projects/tomoyo/"
SRC_URI="mirror://sourceforge.jp/tomoyo/30298/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~x86"
IUSE=""

DEPEND="virtual/libc
	sys-libs/ncurses
	sys-libs/readline"
RDEPEND="${DEPEND}"

S="${WORKDIR}/ccstools/"

src_install() {
	emake INSTALLDIR="${D}" install || die

	rm ${D}/usr/lib/ccs/ccstools.conf || die
	insinto /usr/lib/ccs/conf
	doins ccstools.conf || die
	dosym /usr/lib/ccs/conf/ccstools.conf /usr/lib/ccs/ccstools.conf || die
	doenvd "${FILESDIR}/50ccs-tools" || die
}