blob: c286c06b9f28ff6da24baa961f876eb14a8e09da (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/mkxf86config/mkxf86config-0.8-r3.ebuild,v 1.5 2005/03/06 04:35:53 kingtaco Exp $
inherit eutils
IUSE="livecd"
MY_PN="xf86config-knoppix"
MY_PV="${PV}-5"
MY_P="${MY_PN}_${MY_PV}"
S=${WORKDIR}/${MY_PN}-${PV}
DESCRIPTION="xf86config setup program"
SRC_URI="http://developer.linuxtag.net/knoppix/sources/${MY_P}.tar.gz"
HOMEPAGE="http://www.knopper.net"
KEYWORDS="x86"
SLOT="0"
LICENSE="GPL-2"
DEPEND=""
RDEPEND="sys-apps/hwsetup
sys-apps/ddcxinfo-knoppix
virtual/libc"
src_unpack() {
unpack ${A}
epatch ${FILESDIR}/${P}-gentoo.patch
}
src_install() {
dodoc debian/README.Debian debian/changelog debian/control debian/copyright
insinto /etc/X11
doins XF86Config-4.in XF86Config.in xorg.conf.in
exeinto /usr/sbin
doexe mkxf86config.sh
if use livecd; then
exeinto /etc/init.d
newexe ${FILESDIR}/mkxf86config-init mkxf86config
fi
}
|