wok-next view perl-crypt-ssleay/receipt @ rev 19769

Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jun 14 09:51:23 2017 +0300 (2017-06-14)
parents 2d12ebd38be4
children bc6672455954
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-crypt-ssleay"
4 VERSION="0.58"
5 CATEGORY="development"
6 SHORT_DESC="Crypt::SSLeay module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 SOURCE="Crypt-SSLeay"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://cpan.org/"
12 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NA/NANIS/$TARBALL"
14 DEPENDS="perl openssl"
15 BUILD_DEPENDS="perl-dev openssl-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 yes '' | perl Makefile.PL --default &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }