wok annotate perl-ipc-run/receipt @ rev 14279
Add perl-ipc-run
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 06 15:25:00 2013 +0200 (2013-04-06) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@14279 | 1 # SliTaz package receipt. |
pascal@14279 | 2 |
pascal@14279 | 3 PACKAGE="perl-ipc-run" |
pascal@14279 | 4 VERSION="0.92" |
pascal@14279 | 5 CATEGORY="development" |
pascal@14279 | 6 SHORT_DESC="IPC::Run module is a Perl extension." |
pascal@14279 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14279 | 8 DEPENDS="perl" |
pascal@14279 | 9 BUILD_DEPENDS="perl" |
pascal@14279 | 10 SOURCE="IPC-Run" |
pascal@14279 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14279 | 12 WEB_SITE="http://cpan.org/" |
pascal@14279 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/$TARBALL" |
pascal@14279 | 14 |
pascal@14279 | 15 # Rules to configure and make the package. |
pascal@14279 | 16 compile_rules() |
pascal@14279 | 17 { |
pascal@14279 | 18 cd $src |
pascal@14279 | 19 perl Makefile.PL && |
pascal@14279 | 20 make && |
pascal@14279 | 21 make DESTDIR=$DESTDIR install |
pascal@14279 | 22 } |
pascal@14279 | 23 |
pascal@14279 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14279 | 25 genpkg_rules() |
pascal@14279 | 26 { |
pascal@14279 | 27 mkdir -p $fs/usr |
pascal@14279 | 28 cp -a $install/usr/lib $fs/usr |
pascal@14279 | 29 } |
pascal@14279 | 30 |