Magellan Linux

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

Parent Directory Parent Directory | Revision Log Revision Log


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