wok annotate perl-crypt-ssleay/receipt @ rev 12587
gnet: update bdeps + LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 28 21:50:30 2012 +0200 (2012-04-28) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@11256 | 1 # SliTaz package receipt. |
pascal@11256 | 2 |
pascal@11256 | 3 PACKAGE="perl-crypt-ssleay" |
pascal@11256 | 4 VERSION="0.58" |
pascal@11256 | 5 CATEGORY="development" |
pascal@11256 | 6 SHORT_DESC="Crypt::SSLeay module is a Perl extension." |
pascal@11256 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@11256 | 8 DEPENDS="perl" |
pascal@11256 | 9 BUILD_DEPENDS="perl" |
pascal@11256 | 10 SOURCE="Crypt-SSLeay" |
pascal@11256 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@11256 | 12 WEB_SITE="http://cpan.org/" |
pascal@11256 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NA/NANIS/$TARBALL" |
pascal@11256 | 14 |
pascal@11256 | 15 DEPENDS="openssl" |
pascal@11256 | 16 BUILD_DEPENDS="openssl-dev" |
pascal@11256 | 17 |
pascal@11256 | 18 # Rules to configure and make the package. |
pascal@11256 | 19 compile_rules() |
pascal@11256 | 20 { |
pascal@11256 | 21 cd $src |
pascal@11256 | 22 yes '' | perl Makefile.PL --default && |
pascal@11256 | 23 make && |
pascal@11256 | 24 make DESTDIR=$PWD/_pkg install |
pascal@11256 | 25 } |
pascal@11256 | 26 |
pascal@11256 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11256 | 28 genpkg_rules() |
pascal@11256 | 29 { |
pascal@11256 | 30 mkdir -p $fs/usr |
pascal@11256 | 31 cp -a $_pkg/usr/lib $fs/usr |
pascal@11256 | 32 } |
pascal@11256 | 33 |