Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20704 - (hide annotations) (download)
Mon Feb 3 13:59:53 2014 UTC (10 years, 3 months ago) by niro
Original Path: trunk/extras/net-ssleay/net-ssleay-1.58-r1.smage2
File size: 506 byte(s)
auto added: ver bump to 1.58-r1
1 niro 20704 # $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     }