wok-current annotate perl-file-basedir/receipt @ rev 25637

Add miss new packages (Py3Qt-x11-gpl and pycairo118)
author Stanislas Leduc <shann@slitaz.org>
date Mon Jan 15 22:12:34 2024 +0000 (11 months ago)
parents ca4a422cce07
children
rev   line source
paul@3233 1 # SliTaz package receipt.
paul@3233 2
paul@3233 3 PACKAGE="perl-file-basedir"
Hans-G?nter@24207 4 VERSION="0.09"
paul@3233 5 CATEGORY="development"
paul@3233 6 SHORT_DESC="File::BaseDir module is a Perl extension."
paul@3233 7 MAINTAINER="paul@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@24207 9 WEB_SITE="https://metacpan.org/pod/File::BaseDir"
Hans-G?nter@24207 10 REPOLOGY="perl:file-basedir"
paul@3233 11 SOURCE="File-BaseDir"
paul@3233 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@24207 13 WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL"
Hans-G?nter@24207 14
Hans-G?nter@24207 15 DEPENDS="perl"
Hans-G?nter@24207 16 BUILD_DEPENDS="perl perl-file-which perl-ipc-system-simple"
paul@3233 17
pascal@24103 18 current_version()
pascal@24103 19 {
pascal@24103 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24103 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24103 22 }
pascal@24103 23
paul@3233 24 # Rules to configure and make the package.
paul@3233 25 compile_rules()
paul@3233 26 {
paul@3233 27 perl Makefile.PL &&
paul@3233 28 make &&
Hans-G?nter@24207 29 make install DESTDIR=$DESTDIR
paul@3233 30 }
paul@3233 31
paul@3233 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@3233 33 genpkg_rules()
paul@3233 34 {
Hans-G?nter@24207 35 cook_copy_folders lib
paul@3233 36 }