wok-current annotate perl-crypt-ssleay/receipt @ rev 20272
Up usbip (3.16.55)
| author | Pascal Bellard <pascal.bellard@slitaz.org> |
|---|---|
| date | Sun Mar 18 16:42:58 2018 +0100 (2018-03-18) |
| parents | 2d12ebd38be4 |
| children | 20661c276bcf |
| 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@14702 | 8 LICENSE="GPL" |
| pascal@11256 | 9 DEPENDS="perl" |
| pascal@11256 | 10 BUILD_DEPENDS="perl" |
| pascal@11256 | 11 SOURCE="Crypt-SSLeay" |
| pascal@11256 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
| pascal@11256 | 13 WEB_SITE="http://cpan.org/" |
| pascal@11256 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/N/NA/NANIS/$TARBALL" |
| pascal@11256 | 15 |
| pascal@11256 | 16 DEPENDS="openssl" |
| pascal@11256 | 17 BUILD_DEPENDS="openssl-dev" |
| pascal@11256 | 18 |
| pascal@11256 | 19 # Rules to configure and make the package. |
| pascal@11256 | 20 compile_rules() |
| pascal@11256 | 21 { |
| pascal@20212 | 22 sed -i 's|uname -m|echo i486|' Makefile.PL |
| pascal@11256 | 23 yes '' | perl Makefile.PL --default && |
| pascal@11256 | 24 make && |
| pascal@14702 | 25 make DESTDIR=$DESTDIR install |
| pascal@11256 | 26 } |
| pascal@11256 | 27 |
| pascal@11256 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pascal@11256 | 29 genpkg_rules() |
| pascal@11256 | 30 { |
| pascal@11256 | 31 mkdir -p $fs/usr |
| pascal@14702 | 32 cp -a $install/usr/lib $fs/usr |
| pascal@11256 | 33 } |
| pascal@11256 | 34 |