# $Id$ PNAME="net-ssleay" PVER="1.35" PBUILD="r1" STATE="unstable" DESCRIPTION="Perl extension for using OpenSSL." DEPEND=">= dev-libs/openssl-0.9.8" SRCFILE="Net_SSLeay.pm-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/Net_SSLeay.pm-${PVER}" CPAN_AUTHOR="flora" sminclude cpan src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} # fix libdir sed -i -e "s:openssl_path/lib:openssl_path/$(mlibdir):" Makefile.PL || die } src_compile() { # wants to know the openssl directory location cpan_src_compile "/usr" }