wok annotate perl-test-pod/receipt @ rev 21776
linld: fix strdup
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 11 12:50:44 2019 +0200 (2019-07-11) |
parents | 2d12ebd38be4 |
children | f24a6593156b |
rev | line source |
---|---|
slaxemulator@9297 | 1 # SliTaz package receipt. |
slaxemulator@9297 | 2 |
slaxemulator@9297 | 3 PACKAGE="perl-test-pod" |
slaxemulator@9297 | 4 VERSION="1.44" |
slaxemulator@9297 | 5 CATEGORY="development" |
slaxemulator@9297 | 6 SHORT_DESC="Test::Pod module is a Perl extension." |
slaxemulator@9297 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@9297 | 9 DEPENDS="perl" |
slaxemulator@9297 | 10 BUILD_DEPENDS="perl" |
slaxemulator@9297 | 11 SOURCE="Test-Pod" |
slaxemulator@9297 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@9297 | 13 WEB_SITE="http://www.cpan.org/modules/" |
pascal@20682 | 14 WGET_URL="https://metacpan.org/CPAN/authors/id/D/DW/DWHEELER/$TARBALL" |
slaxemulator@9297 | 15 |
slaxemulator@9297 | 16 # Rules to configure and make the package. |
slaxemulator@9297 | 17 compile_rules() |
slaxemulator@9297 | 18 { |
slaxemulator@9297 | 19 cd $src |
slaxemulator@9297 | 20 perl Makefile.PL && |
slaxemulator@9297 | 21 make && |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
slaxemulator@9297 | 23 } |
slaxemulator@9297 | 24 |
slaxemulator@9297 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@9297 | 26 genpkg_rules() |
slaxemulator@9297 | 27 { |
slaxemulator@9297 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@9297 | 30 } |