Magellan Linux

Contents of /branches/R11-stable/extras/net-ssleay/net-ssleay-1.58-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20838 - (show annotations) (download)
Tue Feb 11 09:57:37 2014 UTC (10 years, 2 months ago) by niro
File size: 506 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="net-ssleay"
4 PVER="1.58"
5 PBUILD="r1"
6
7 DESCRIPTION="Perl extension for using OpenSSL."
8
9 DEPEND=">= dev-lang/perl-5.18.2
10 >= dev-libs/openssl-1.0.1"
11
12 CPAN_MODULE="Net-SSLeay"
13 CPAN_AUTHOR="mikem"
14 sminclude cpan
15
16 UP2DATE="updatecmd_perl ${CPAN_MODULE} gz"
17
18 src_prepare()
19 {
20 munpack ${SRCFILE} || die
21 cd ${SRCDIR}
22
23 # fix libdir
24 sed -i "s:openssl_path/lib:openssl_path/$(mlibdir):" Makefile.PL || die
25 }
26
27 src_compile()
28 {
29 # wants to know the openssl directory location
30 cpan_src_compile "/usr"
31 }