wok-current annotate perl-unix-mknod/receipt @ rev 24382

updated bluefish (2.2.10 -> 2.2.12)
author Hans-G?nter Theisgen
date Sun Feb 06 10:59:31 2022 +0100 (2022-02-06)
parents 20661c276bcf
children e717a4953b0e
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@24103 11 WEB_SITE="https://metacpan.org/dist/Unix-Mknod"
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@24103 17 current_version()
pascal@24103 18 {
pascal@24103 19 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 21 }
pascal@24103 22
pascal@14282 23 # Rules to configure and make the package.
pascal@14282 24 compile_rules()
pascal@14282 25 {
pascal@14282 26 cd $src
pascal@14282 27 perl Makefile.PL &&
pascal@14282 28 make &&
pascal@14282 29 make DESTDIR=$DESTDIR install
pascal@14282 30 }
pascal@14282 31
pascal@14282 32 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@14282 33 genpkg_rules()
pascal@14282 34 {
pascal@14282 35 mkdir -p $fs/usr
pascal@14282 36 cp -a $install/usr/lib $fs/usr
pascal@14282 37 }
pascal@14282 38