wok-stable annotate perl-net-ssleay/receipt @ rev 11619
Up iron-linux (16.0.950.0)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Mon Jan 23 19:52:09 2012 +0000 (2012-01-23) |
parents | d732fbc919a6 |
children |
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 |