summaryrefslogtreecommitdiff
blob: a05974919c9eb32c839edc3af5295e4b6f08edd4 (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
62
63
64
65
66
67
68
# Copyright 2002 damien krotkine <dams@gentoo.org>
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-perl/Common/Common-1.0.4.ebuild,v 1.5 2003/02/28 16:54:59 liquidx Exp $

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

inherit perl-module
inherit cvs

S=${WORKDIR}/${ECVS_MODULE}
DESCRIPTION="Common usefull perl functions"
HOMEPAGE="http://cvs.mandrakesoft.com/cgi-bin/cvsweb.cgi/soft/perl-MDK-Common/"
SRC_URI=""

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

DEPEND="dev-lang/ocaml
		sys-devel/perl"


src_compile() {
	cd ../../perl-MDK-Common;
	patch -p0 <${FILESDIR}/Common-1.0.4.patch || die
	cp Makefile Makefile.bak
   sed -e "s: /usr: ${D}/usr:" Makefile.bak > Makefile
   make \
              PREFIX=${D}/usr \
                INSTALLMAN1DIR=${D}/usr/share/man/man1 \
                INSTALLMAN2DIR=${D}/usr/share/man/man2 \
                INSTALLMAN3DIR=${D}/usr/share/man/man3 \
                INSTALLMAN4DIR=${D}/usr/share/man/man4 \
                INSTALLMAN5DIR=${D}/usr/share/man/man5 \
                INSTALLMAN6DIR=${D}/usr/share/man/man6 \
                INSTALLMAN7DIR=${D}/usr/share/man/man7 \
                INSTALLMAN8DIR=${D}/usr/share/man/man8 \
                INSTALLSITEMAN1DIR=${D}/usr/share/man/man1 \
                INSTALLSITEMAN2DIR=${D}/usr/share/man/man2 \
                INSTALLSITEMAN3DIR=${D}/usr/share/man/man3 \
                INSTALLSITEMAN4DIR=${D}/usr/share/man/man4 \
                INSTALLSITEMAN5DIR=${D}/usr/share/man/man5 \
                INSTALLSITEMAN6DIR=${D}/usr/share/man/man6 \
                INSTALLSITEMAN7DIR=${D}/usr/share/man/man7 \
                INSTALLSITEMAN8DIR=${D}/usr/share/man/man8 \
                INSTALLSITEARCH=${D}/${SITE_ARCH} \
                INSTALLSCRIPT=${D}/usr/bin 

}

src_install() {
	cd ../../perl-MDK-Common;
        make install

}
																																		
#src_prep() {
#	SRC_PREP="yes"
#	cd soft/perl-MDK-Common
#}