summaryrefslogtreecommitdiff
blob: 71027fcc4e3eed407577faa3d0a4c91e56979953 (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
# Copyright 2002 damien krotkine <dams@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-libs/ldetect-lst/ldetect-lst-0.1.4.ebuild,v 1.2 2002/12/07 22:57:52 dams Exp $

ECVS_ANON="no"
ECVS_USER="anoncvs"
ECVS_SERVER="cvs.mandrakesoft.com:/cooker"
ECVS_MODULE="soft/ldetect-lst"
ECVS_PASS="cvs"
ECVS_CVS_OPTIONS="-dP"

inherit cvs

S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Hardware list for the light detection library."
HOMEPAGE="http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/ldetect-lst/"
SRC_URI=""

SLOT="0"
LICENSE="GPL"
KEYWORDS="~x86 ~ppc ~sparc ~sparc64 ~alpha"

src_compile() {
	cd ../../ldetect-lst;
	echo " ------- pwd : $PWD"
        patch -p1 <${FILESDIR}/ldetect-lst-0.1.4.patch || die
	make prefix=${D}/usr clean;
	make
}

src_install() {
	cd ../../ldetect-lst;
	echo " ----------- install in ${PWD}"
	make prefix=${D}/usr install
	cd ${D}/usr/share/ldetect-lst/
	ln -s pcitable.d/90default.lst ./pcitable
	ln -s usbtable.d/90default.lst ./usbtable
	ln -s pcmciatable.d/90default.lst ./pcmciatable
	ln -s isatable.d/90default.lst ./isatable
}