wok-next annotate perl-io-multiplex/receipt @ rev 18145
Add defragfs
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jun 18 16:31:01 2015 +0200 (2015-06-18) |
parents | 523d35aed712 |
children | 1a86cb99cbbf |
rev | line source |
---|---|
pascal@1194 | 1 # SliTaz package receipt. |
pascal@1194 | 2 |
pascal@1194 | 3 PACKAGE="perl-io-multiplex" |
pascal@1194 | 4 VERSION="1.09" |
pascal@1194 | 5 CATEGORY="development" |
pascal@1194 | 6 SHORT_DESC="IO::Multiplex module is a Perl extension." |
pascal@1194 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@1194 | 9 DEPENDS="perl" |
pascal@1194 | 10 BUILD_DEPENDS="perl" |
pascal@1194 | 11 SOURCE="IO-Multiplex" |
pascal@1194 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1194 | 13 WEB_SITE="http://cpan.org/" |
pascal@1194 | 14 WGET_URL="http://cpan.org/authors/id/B/BB/BBB/$TARBALL" |
pascal@1194 | 15 |
pascal@1194 | 16 # Rules to configure and make the package. |
pascal@1194 | 17 compile_rules() |
pascal@1194 | 18 { |
pascal@1194 | 19 cd $src |
pascal@1194 | 20 perl Makefile.PL |
pascal@1194 | 21 make |
pascal@14702 | 22 make DESTDIR=$DESTDIR install |
pascal@1194 | 23 } |
pascal@1194 | 24 |
pascal@1194 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1194 | 26 genpkg_rules() |
pascal@1194 | 27 { |
pascal@1194 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
pascal@1194 | 30 } |
pascal@1194 | 31 |