wok-stable annotate perl-net-ssleay/receipt @ rev 5879
pam_ldap: fix compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jul 21 09:10:49 2010 +0200 (2010-07-21) |
parents | 89e187b7d309 |
children | d732fbc919a6 |
rev | line source |
---|---|
pascal@1918 | 1 # SliTaz package receipt. |
pascal@1918 | 2 |
pascal@1918 | 3 PACKAGE="perl-net-ssleay" |
pascal@5441 | 4 VERSION="1.36" |
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@2457 | 8 DEPENDS="perl openssl zlib" |
pascal@1918 | 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@1918 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/F/FL/FLORA/$TARBALL" |
pascal@1918 | 14 |
pascal@1918 | 15 # Rules to configure and make the package. |
pascal@1918 | 16 compile_rules() |
pascal@1918 | 17 { |
pascal@1918 | 18 cd $src |
pascal@1918 | 19 yes n | perl Makefile.PL && |
pascal@1918 | 20 make && |
pascal@1918 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1918 | 22 } |
pascal@1918 | 23 |
pascal@1918 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1918 | 25 genpkg_rules() |
pascal@1918 | 26 { |
pascal@1918 | 27 mkdir -p $fs/usr |
pascal@1918 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1918 | 29 } |
pascal@1918 | 30 |