summaryrefslogtreecommitdiff
blob: c93077af156d848cdd2675859eec1b813dc71c7f (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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# 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/ldetect-0.4.6.ebuild,v 1.1 2002/12/01 19:02:36 dams Exp $

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

#inherit perl-module
inherit cvs

S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Light hardware detection library. The hardware device lists provided by this package are used as lookup table to get hardware autodetection"
HOMEPAGE="http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/ldetect/"
SRC_URI=""

SLOT="0"
LICENSE="GPL"
KEYWORDS="~x86"

#DEPEND="${DEPEND}
#        >=dev-lang/ocaml"

#This patch may or may not be backwards compatible with perl-5.6.1
#Add gaurd as necessary...

#src_unpack() {
#	echo " ***** pouet $PWD";
#	echo "filesdir : ${FILESDIR}"
#        #unpack ${A}
#	echo " pwd : $PWD"
#        patch -p0 <${FILESDIR}/Common-1.0.4.patch || die
#}

src_compile() {
	cd ../../ldetect;
	echo " ------- pwd : $PWD"
        patch -p1 <${FILESDIR}/ldetect-0.4.6.patch || die
	echo "compile in ${PWD}";
	make clean;
	make
	#perl-module_src_prep;
	#perl-module_src_compile;
}

src_install() {
	cd ../../ldetect;
	echo " ----------- install in ${PWD}"
	make prefix=${D}/usr install
}

src_prep() {
	SRC_PREP="yes"
	cd ../../perl-MDK-Common
	echo "prep in ${PWD}";	
}