wok-6.x annotate perl-unix-mknod/receipt @ rev 19405
Up lrzip (0.630)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 09 15:37:22 2016 +0200 (2016-09-09) |
parents | 7ce282b2221f |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@14282 | 1 # SliTaz package receipt. |
pascal@14282 | 2 |
pascal@14282 | 3 PACKAGE="perl-unix-mknod" |
pascal@14282 | 4 VERSION="0.04" |
pascal@14282 | 5 CATEGORY="development" |
pascal@14282 | 6 SHORT_DESC="Unix::Mknod module is a Perl extension." |
pascal@14282 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@14282 | 9 SOURCE="Unix-Mknod" |
pascal@14282 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14282 | 11 WEB_SITE="http://cpan.org/" |
pascal@14282 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PI/PIRZYK/$TARBALL" |
pascal@14282 | 13 |
pascal@14282 | 14 DEPENDS="perl" |
pascal@14282 | 15 BUILD_DEPENDS="perl" |
pascal@14282 | 16 |
pascal@14282 | 17 # Rules to configure and make the package. |
pascal@14282 | 18 compile_rules() |
pascal@14282 | 19 { |
pascal@14282 | 20 cd $src |
pascal@14282 | 21 perl Makefile.PL && |
pascal@14282 | 22 make && |
pascal@14282 | 23 make DESTDIR=$DESTDIR install |
pascal@14282 | 24 } |
pascal@14282 | 25 |
pascal@14282 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14282 | 27 genpkg_rules() |
pascal@14282 | 28 { |
pascal@14282 | 29 mkdir -p $fs/usr |
pascal@14282 | 30 cp -a $install/usr/lib $fs/usr |
pascal@14282 | 31 } |
pascal@14282 | 32 |