summaryrefslogtreecommitdiff
blob: c8a771cb0a7077ca50efdffd6faa3e7fcea533df (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20050223.ebuild,v 1.6 2005/03/26 19:37:15 j4rg0n Exp $

inherit eutils

DESCRIPTION="Updated config.sub and config.guess file from GNU"
HOMEPAGE="ftp://ftp.gnu.org/pub/gnu/config"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ~ppc ~ppc64 ppc-macos s390 sh sparc x86"
IUSE=""

S=${WORKDIR}

src_unpack() {
	unpack ${A}
	epatch "${WORKDIR}"/config.guess.uclibc.patch
}

src_compile() { :;}

src_test() {
	make SHELL=/bin/sh check || die "make check failed :("
}

src_install() {
	insinto /usr/share/${PN}
	doins ChangeLog config.{sub,guess} || die
	fperms +x /usr/share/${PN}/config.{sub,guess}
}