summaryrefslogtreecommitdiff
blob: 90e71690a7a54413bb7a7fa8a212a95688fb643e (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
# 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-20040214.ebuild,v 1.15 2005/01/03 00:05:39 ciaranm 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 mips ppc ppc64 ppc-macos s390 sh sparc x86"
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,config.{sub,guess}} || die
	fperms +x /usr/share/${PN}/config.{sub,guess}
}