wok-6.x annotate perl-unix-mknod/receipt @ rev 23570
added recipe for python-twodict
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 07 09:38:04 2020 +0100 (2020-04-07) |
parents | 2d12ebd38be4 |
children | ca4a422cce07 |
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@20682 | 12 WGET_URL="https://metacpan.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 |