contrib/p5-net-ssleay/Pkgfile

27 lines
680 B
Plaintext
Raw Normal View History

2008-03-30 12:23:34 +02:00
# Description: Perl extension for using OpenSSL.
2011-07-28 13:20:00 +02:00
# URL: http://search.cpan.org/~flora/Net-SSLeay/
2008-03-30 12:23:34 +02:00
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
# Packager: Younes Hafri, ycrux at club dash internet dot fr
# Depends on: openssl
name=p5-net-ssleay
2011-07-28 13:20:00 +02:00
version=1.36
release=1
source=(http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/Net-SSLeay-$version.tar.gz)
2008-03-30 12:23:34 +02:00
build() {
2011-07-28 13:20:00 +02:00
cd Net-SSLeay-$version
echo y | perl Makefile.PL
2008-03-30 12:23:34 +02:00
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
# Remove perlcrap
find $PKG -type f \( \
2008-03-30 12:23:34 +02:00
-name '.packlist' -or \
-name '*.bs' -or \
-name 'perllocal.pod' \) -delete
# Remove empty directories
find $PKG -depth -empty -delete
}