wok-6.x annotate perl-unix-mknod/receipt @ rev 14365
Up dietlibc (0.33), static only
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 20 18:53:47 2013 +0200 (2013-04-20) |
parents | |
children | 2d12ebd38be4 |
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@14282 | 8 SOURCE="Unix-Mknod" |
pascal@14282 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14282 | 10 WEB_SITE="http://cpan.org/" |
pascal@14282 | 11 WGET_URL="http://search.cpan.org/CPAN/authors/id/P/PI/PIRZYK/$TARBALL" |
pascal@14282 | 12 |
pascal@14282 | 13 DEPENDS="perl" |
pascal@14282 | 14 BUILD_DEPENDS="perl" |
pascal@14282 | 15 |
pascal@14282 | 16 # Rules to configure and make the package. |
pascal@14282 | 17 compile_rules() |
pascal@14282 | 18 { |
pascal@14282 | 19 cd $src |
pascal@14282 | 20 perl Makefile.PL && |
pascal@14282 | 21 make && |
pascal@14282 | 22 make DESTDIR=$DESTDIR install |
pascal@14282 | 23 } |
pascal@14282 | 24 |
pascal@14282 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14282 | 26 genpkg_rules() |
pascal@14282 | 27 { |
pascal@14282 | 28 mkdir -p $fs/usr |
pascal@14282 | 29 cp -a $install/usr/lib $fs/usr |
pascal@14282 | 30 } |
pascal@14282 | 31 |