# Description: Interface Perl autorisant p5-libwwww à faire des connections https
# URL: http://search.cpan.org/dist/Crypt-SSLeay/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: p5-uri
# Run on: p5-uri

name=p5-crypt-ssleay
version=0.57_01
release=1
source=(http://search.cpan.org/CPAN/authors/id/D/DL/DLAND/Crypt-SSLeay-$version.tar.gz)

build() {
cd Crypt-SSLeay-$version
	echo "n" | perl Makefile.PL --lib=/usr
	mkdir -p $PKG/usr/lib/perl5/5.10.1/i686-linux-thread-multi/
	make
	make DESTDIR=$PKG install
	find $PKG -name perllocal.pod -exec rm {} \;
}