wok annotate perl-net-ssleay/receipt @ rev 13293
Up sslh (1.13b)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 27 17:12:14 2012 +0200 (2012-08-27) |
parents | d732fbc919a6 |
children | 2d12ebd38be4 |
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@11256 | 8 DEPENDS="perl" |
pascal@11256 | 9 BUILD_DEPENDS="perl" |
pascal@1918 | 10 SOURCE="Net-SSLeay" |
pascal@1918 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1918 | 12 WEB_SITE="http://cpan.org/" |
pascal@11256 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/M/MI/MIKEM/$TARBALL" |
pascal@11256 | 14 |
pascal@11256 | 15 DEPENDS="openssl" |
pascal@11256 | 16 BUILD_DEPENDS="openssl-dev" |
pascal@1918 | 17 |
pascal@1918 | 18 # Rules to configure and make the package. |
pascal@1918 | 19 compile_rules() |
pascal@1918 | 20 { |
pascal@1918 | 21 cd $src |
pascal@11256 | 22 yes '' | perl Makefile.PL && |
pascal@1918 | 23 make && |
pascal@11256 | 24 make DESTDIR=$PWD/_pkg install |
pascal@1918 | 25 } |
pascal@1918 | 26 |
pascal@1918 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1918 | 28 genpkg_rules() |
pascal@1918 | 29 { |
pascal@1918 | 30 mkdir -p $fs/usr |
pascal@1918 | 31 cp -a $_pkg/usr/lib $fs/usr |
pascal@1918 | 32 } |
pascal@1918 | 33 |