wok-next annotate perl-unix-mknod/receipt @ rev 20057
Up cookutils (987)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Oct 23 23:14:31 2017 +0300 (2017-10-23) |
parents | 1a86cb99cbbf |
children | 4e6503d7a19f |
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" |
al@19709 | 5 CATEGORY="perl" |
al@19709 | 6 SHORT_DESC="Unix::Mknod - Perl extension for mknod, major, minor, and makedev" |
pascal@14282 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
al@19709 | 9 WEB_SITE="https://metacpan.org/release/Unix-Mknod" |
al@19709 | 10 |
al@19709 | 11 TARBALL="Unix-Mknod-$VERSION.tar.gz" |
al@19709 | 12 WGET_URL="https://cpan.metacpan.org/authors/id/P/PI/PIRZYK/$TARBALL" |
pascal@14282 | 13 |
pascal@14282 | 14 DEPENDS="perl" |
al@19769 | 15 BUILD_DEPENDS="perl-dev" |
pascal@14282 | 16 |
pascal@14282 | 17 # Rules to configure and make the package. |
pascal@14282 | 18 compile_rules() |
pascal@14282 | 19 { |
pascal@14282 | 20 perl Makefile.PL && |
al@19709 | 21 make && make DESTDIR=$install install && |
al@19709 | 22 |
al@19709 | 23 chmod -R u+w $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 { |
al@19709 | 29 copy @std |
pascal@14282 | 30 } |