summaryrefslogtreecommitdiff
blob: 97333c551e9e4bdae98e7d00d8319d4147c4b534 (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
40
41
42
43
44
45
46
47
48
49
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/genflags/genflags-0.94.ebuild,v 1.1 2003/07/27 11:14:47 robbat2 Exp $

DESCRIPTION="Gentoo CFLAGS generator"

HOMEPAGE="http://www.gentoo.org/"

SRC_URI="mirror://gentoo/${P}-bin.tar.bz2
		 mirror://gentoo/${P}-devel.tar.bz2
		 http://dev.gentoo.org/~robbat2/genflags/${P}-bin.tar.bz2
		 http://dev.gentoo.org/~robbat2/genflags/${P}-devel.tar.bz2"

LICENSE="OSL"

SLOT="0"

KEYWORDS="~x86 ~amd64 ~arm ~hppa ~ppc ~mips ~sparc ~alpha"
# should also work on : ia64 m68k cris s390 sh

IUSE=""

# This is all explictly specified as might want this in early stages
DEPEND="app-shells/bash 
		|| ( sys-apps/coreutils ( sys-apps/sh-utils sys-apps/textutils ) )
		sys-apps/findutils  
		sys-apps/grep 
		sys-apps/sed 
		sys-apps/util-linux"

S=${WORKDIR}/${P}

src_compile() {
	einfo "No compiling needed!"
}

src_install() {
	for i in bin/* ; do
		dosbin ${i}
	done
	for i in LICENSE README docs/* ; do
		dodoc ${i}
	done
	cp -r data ${D}/usr/share/genflags

	# At this time, don't install these dirs:
	# old rawdata extra scripts testoutput testscripts

}