wok-next annotate perl-net-ssleay/receipt @ rev 18737

webalizer: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 21 23:42:26 2015 +0100 (2015-12-21)
parents f0263c56ea4a
children 1a86cb99cbbf
rev   line source
pascal@1918 1 # SliTaz package receipt.
pascal@1918 2
pascal@1918 3 PACKAGE="perl-net-ssleay"
pascal@11256 4 VERSION="1.42"
pascal@1918 5 CATEGORY="development"
pascal@1918 6 SHORT_DESC="Net::SSLeay module is a Perl extension."
pascal@1918 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14702 8 LICENSE="GPL"
pascal@11256 9 DEPENDS="perl"
pascal@11256 10 BUILD_DEPENDS="perl"
pascal@1918 11 SOURCE="Net-SSLeay"
pascal@1918 12 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1918 13 WEB_SITE="http://cpan.org/"
pascal@11256 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/$TARBALL"
pascal@11256 15
pascal@11256 16 DEPENDS="openssl"
pascal@11256 17 BUILD_DEPENDS="openssl-dev"
pascal@1918 18
pascal@1918 19 # Rules to configure and make the package.
pascal@1918 20 compile_rules()
pascal@1918 21 {
pascal@1918 22 cd $src
pascal@11256 23 yes '' | perl Makefile.PL &&
pascal@1918 24 make &&
pascal@14702 25 make DESTDIR=$DESTDIR install
pascal@1918 26 }
pascal@1918 27
pascal@1918 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1918 29 genpkg_rules()
pascal@1918 30 {
pascal@1918 31 mkdir -p $fs/usr
pascal@14702 32 cp -a $install/usr/lib $fs/usr
pascal@1918 33 }
pascal@1918 34