summaryrefslogtreecommitdiff
blob: 2dd34a6e69711184cb7a1862648c59e52efce32a (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-devel/gnuconfig/gnuconfig-20040214.ebuild,v 1.12 2004/09/16 02:25:33 pvdabeel 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="x86 ppc ppc64 sparc mips alpha arm hppa amd64 ~ia64 macos ppc-macos"
IUSE="uclibc"

S=${WORKDIR}

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${PN}-20040312-update.patch
	use uclibc && epatch ${FILESDIR}/automake-1.8.5-config-guess-uclibc.patch
}

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