wok-6.x annotate perl-file-find-rule/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (18 months ago)
parents be7883c73a47
children
rev   line source
slaxemulator@10176 1 # SliTaz package receipt.
slaxemulator@10176 2
slaxemulator@10176 3 PACKAGE="perl-file-find-rule"
Hans-G?nter@23330 4 VERSION="0.34"
slaxemulator@10176 5 CATEGORY="development"
Hans-G?nter@23330 6 SHORT_DESC="Perl Module File::Find::Rule."
slaxemulator@10176 7 MAINTAINER="slaxemulator@gmail.com"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23330 9 WEB_SITE="https://metacpan.org/release/File-Find-Rule/"
Hans-G?nter@23330 10
slaxemulator@10176 11 SOURCE="File-Find-Rule"
slaxemulator@10176 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23330 13 WGET_URL="https://www.cpan.org/modules/by-module/File/$TARBALL"
Hans-G?nter@23330 14
Hans-G?nter@23330 15 DEPENDS="perl perl-number-compare perl-text-glob"
Hans-G?nter@23330 16 BUILD_DEPENDS="$DEPENDS"
slaxemulator@10176 17
pascal@24102 18 current_version()
pascal@24102 19 {
pascal@24102 20 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24102 21 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
pascal@24102 22 }
pascal@24102 23
slaxemulator@10176 24 # Rules to configure and make the package.
slaxemulator@10176 25 compile_rules()
slaxemulator@10176 26 {
slaxemulator@10176 27 perl Makefile.PL &&
slaxemulator@10176 28 make &&
slaxemulator@10176 29 make install DESTDIR=$DESTDIR
slaxemulator@10176 30 }
slaxemulator@10176 31
slaxemulator@10176 32 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10176 33 genpkg_rules()
slaxemulator@10176 34 {
slaxemulator@10176 35 mkdir -p $fs/usr
Hans-G?nter@23330 36
Hans-G?nter@23330 37 cp -a $install/usr/bin $fs/usr
Hans-G?nter@23330 38 cp -a $install/usr/lib $fs/usr
slaxemulator@10176 39 }