wok-6.x annotate perl-linux-inotify2/receipt @ rev 24840

created recipes for libunibreak and libunibreak-dev
author Hans-G?nter Theisgen
date Fri Mar 25 09:25:18 2022 +0100 (2022-03-25)
parents 15650f5d595b
children
rev   line source
pascal@17380 1 # SliTaz package receipt.
pascal@17380 2
pascal@17380 3 PACKAGE="perl-linux-inotify2"
Hans-G?nter@24232 4 VERSION="2.3"
pascal@17380 5 CATEGORY="development"
Hans-G?nter@23359 6 SHORT_DESC="Perl extension Linux::Inotify2."
pascal@17380 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@18334 8 LICENSE="GPL"
Hans-G?nter@24232 9 WEB_SITE="https://metacpan.org/pod/Linux::Inotify2"
Hans-G?nter@24232 10 REPOLOGY="perl:linux-inotify2"
Hans-G?nter@23359 11
pascal@17380 12 SOURCE="Linux-Inotify2"
pascal@17380 13 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23359 14 WGET_URL="https://www.cpan.org/modules/by-module/Linux/$TARBALL"
pascal@17380 15
pascal@17380 16 DEPENDS="perl-common-sense"
pascal@17380 17 BUILD_DEPENDS="perl"
pascal@17380 18
pascal@24102 19 current_version()
pascal@24102 20 {
pascal@24102 21 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 23 }
pascal@24102 24
pascal@17380 25 # Rules to configure and make the package.
pascal@17380 26 compile_rules()
pascal@17380 27 {
Hans-G?nter@23359 28 perl Makefile.PL &&
Hans-G?nter@23359 29 make &&
Hans-G?nter@24232 30 make install DESTDIR=$DESTDIR
pascal@17380 31 }
pascal@17380 32
pascal@17380 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17380 34 genpkg_rules()
pascal@17380 35 {
Hans-G?nter@24232 36 cook_copy_folders lib
pascal@17380 37 }