Magellan Linux

Contents of /trunk/extras/net-ssleay/net-ssleay-1.70-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 26402 - (show annotations) (download)
Fri Jun 26 12:01:35 2015 UTC (8 years, 11 months ago) by niro
File size: 506 byte(s)
auto added: ver bump to 1.70-r1
1 # $Id$
2
3 PNAME="net-ssleay"
4 PVER="1.70"
5 PBUILD="r1"
6
7 DESCRIPTION="Perl extension for using OpenSSL."
8
9 DEPEND=">= dev-lang/perl-5.22.0
10 >= dev-libs/openssl-1.0.2"
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 }