summaryrefslogtreecommitdiff
blob: f5b5fd4607a68b9d601eea64815a37ff993ed9d1 (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
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-misc/mkxf86config/mkxf86config-0.8-r2.ebuild,v 1.5 2004/06/28 20:06:12 agriffis 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 amd64"
SLOT="0"
LICENSE="GPL-2"

DEPEND=""
RDEPEND="sys-apps/hwsetup
	sys-apps/ddcxinfo-knoppix
	virtual/libc"

src_unpack() {
	unpack ${A}
	epatch ${FILESDIR}/${PN}-gentoo.patch
}

src_install() {
	dodoc debian/README.Debian debian/changelog debian/control debian/copyright
	insinto /etc/X11
	doins XF86Config-4.in XF86Config.in
	exeinto /usr/sbin
	doexe mkxf86config.sh

	if use livecd; then
		exeinto /etc/init.d
		newexe ${FILESDIR}/mkxf86config-init mkxf86config
	fi
}