wok-current annotate perl-socket6/receipt @ rev 21219
Up vcdimager-xmltools (2.0.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 10 11:27:25 2019 +0200 (2019-04-10) |
parents | 2d12ebd38be4 |
children | 26fc7fdd8b93 |
rev | line source |
---|---|
erjo@2656 | 1 # SliTaz package receipt. |
erjo@2656 | 2 |
erjo@2656 | 3 PACKAGE="perl-socket6" |
erjo@2656 | 4 VERSION="0.23" |
erjo@2656 | 5 CATEGORY="development" |
erjo@2656 | 6 SHORT_DESC="Socket6 is a PERL module" |
erjo@2656 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
erjo@2656 | 9 DEPENDS="perl" |
erjo@2656 | 10 BUILD_DEPENDS="perl" |
erjo@2656 | 11 SOURCE="Socket6" |
erjo@2656 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
erjo@2656 | 13 WEB_SITE="http://cpan.org/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/U/UM/UMEMOTO/$TARBALL" |
erjo@2656 | 15 |
erjo@2656 | 16 |
erjo@2656 | 17 # Rules to configure and make the package. |
erjo@2656 | 18 compile_rules() |
erjo@2656 | 19 { |
erjo@2656 | 20 cd $src |
erjo@2656 | 21 perl Makefile.PL |
erjo@2656 | 22 make |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
erjo@2656 | 24 } |
erjo@2656 | 25 |
erjo@2656 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2656 | 27 genpkg_rules() |
erjo@2656 | 28 { |
erjo@2656 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
erjo@2656 | 31 } |
erjo@2656 | 32 |