blob: 31cf81fe60b31aaa9564f29ca889be0e6d2b49f6 (
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
|
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
# $Header: /var/cvsroot/gentoo-x86/dev-perl/PDL/PDL-2.1.1.ebuild,v 1.2 2000/09/15 20:08:49 drobbins Exp $
P=PDL-2.1.1
A=${P}.tar.gz
S=${WORKDIR}/${P}
DESCRIPTION="PDL Perl Module"
SRC_URI="http://cpan.valueclick.com/modules/by-module/PDL/${A}"
HOMEPAGE="http://cpan.valueclick.com/modules/by-module/PDL/${P}.readme"
src_unpack() {
unpack ${A}
cd ${S}
cp perldl.conf perldl.conf.orig
sed -e "s:WITH_3D => undef:WITH_3D => 0:" perldl.conf.orig > perldl.conf
}
src_compile() {
cd ${S}
perl Makefile.PL $PERLINSTALL
try make
try make test
}
src_install () {
cd ${S}
try make install
prepman
dodoc COPYING Changes DEPENDENCIES DEVELOPMENT README MANIFEST*
dodoc Release_Notes TODO
}
|