blob: 52c25886ede5ab4b4c1144055353673003e145da (
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.9 2004/06/24 22:46:59 agriffis 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"
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
}
|