summaryrefslogtreecommitdiff
blob: 8a94d7cb3392509c8d94319f17444242f69248b0 (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
31
32
33
34
35
36
37
38
39
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-util/catalyst/catalyst-1.0.ebuild,v 1.1 2004/02/17 21:41:28 zhen Exp $

DESCRIPTION="Gentoo Linux official release metatool"
HOMEPAGE="http://www.gentoo.org/proj/en/releng/catalyst"
SRC_URI="http://dev.gentoo.org/~zhen/catalyst/${P}.tar.bz2"
LICENSE="GPL-2"

SLOT="0"
KEYWORDS="~x86 ~amd64 ~sparc ~ppc ~alpha ~mips"
IUSE=""

DEPEND=""
RDEPEND="dev-lang/python
		sys-apps/portage"

S=${WORKDIR}/${PN}

src_install() {

	dodir /usr/lib/${PN}
	for x in arch targets/* modules
	do
		dodir /usr/lib/${PN}/${x}
		insinto /usr/lib/${PN}/${x}
		doins ${x}/*
	done
	dodir /usr/bin
	dosym /usr/bin/catalyst /usr/lib/${PN}/catalyst
	insinto /usr/lib/${PN}
	doins sparc64-isogen.sh x86-isogen.sh
	insopts -m0755
	doins catalyst
	DOCDESTTREE="." dohtml -A spec,amd64 -r kconfig examples
	dodoc TODO README ChangeLog ChangeLog.old AUTHORS COPYING REMARKS
	insinto /etc
	doins files/catalyst.conf
}