blob: 689e743bd6c57bfa186f4268c3ba1fd09e5fd598 (
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
|
# Copyright 1999-2004 Gentoo Foundation & Pieter Van den Abeele
# xorg.conf patch (C) 2004 by Matt Jarjoura <eklispe@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/Xautoconfig/Xautoconfig-0.22.ebuild,v 1.3 2004/09/27 18:29:13 eklipse Exp $
inherit eutils
DESCRIPTION="Xautoconfig is a PPC only config file generator for xfree86"
SRC_URI="http://ftp.penguinppc.org/projects/xautocfg/${P}.tar.gz"
HOMEPAGE="http://ftp.penguinppc.org/projects/xautocfg/"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="ppc -x86 -sparc "
IUSE=""
DEPEND="sys-apps/pciutils"
src_unpack() {
if [ ${ARCH} != ppc ]
then
die "This is a PPC-only package"
fi
unpack ${A}
cd ${S}
epatch ${FILESDIR}/Xautoconfig.patch || die
epatch ${FILESDIR}/XF4text.h.diff || die
}
src_compile() {
make || die "sorry, failed to compile Xautoconfig (PPC-only ebuild)"
}
src_install() {
dodir /usr/X11R6/
into /usr/X11R6/
dobin Xautoconfig4
dodoc ChangeLog
}
|