wok view perl-extutils-pkgconfig/receipt @ rev 25703

some perl-*: update web_site
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 04 16:09:04 2024 +0000 (13 days ago)
parents 1805f71c5d9f
children
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-extutils-pkgconfig"
4 SOURCE="ExtUtils-PkgConfig"
5 VERSION="1.16"
6 CATEGORY="development"
7 SHORT_DESC="Simplistic interface to pkg-config"
8 MAINTAINER="claudinei@slitaz.org"
9 LICENSE="GPL"
10 DEPENDS="perl pkg-config"
11 BUILD_DEPENDS="perl pkg-config"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="https://metacpan.org/dist/ExtUtils-PkgConfig"
14 WGET_URL="https://cpan.metacpan.org/authors/id/X/XA/XAOC/$TARBALL"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed '/release-name/!d;s|.*-v*||;s|<.*||;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 perl Makefile.PL &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/lib $fs/usr
36 }