wok-current annotate perl-extutils-pkgconfig/receipt @ rev 24238
updated perl-mime-base64 (3.15 -> 3.16)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:16:25 2022 +0100 (2022-01-02) |
parents | 18c66805dd1a |
children | 1805f71c5d9f |
rev | line source |
---|---|
claudinei@3179 | 1 # SliTaz package receipt. |
claudinei@3179 | 2 |
claudinei@3179 | 3 PACKAGE="perl-extutils-pkgconfig" |
claudinei@3179 | 4 SOURCE="ExtUtils-PkgConfig" |
pascal@20905 | 5 VERSION="1.16" |
claudinei@3179 | 6 CATEGORY="development" |
claudinei@3179 | 7 SHORT_DESC="Simplistic interface to pkg-config" |
claudinei@3179 | 8 MAINTAINER="claudinei@slitaz.org" |
pascal@14702 | 9 LICENSE="GPL" |
claudinei@3179 | 10 DEPENDS="perl pkg-config" |
claudinei@3179 | 11 BUILD_DEPENDS="perl pkg-config" |
claudinei@3179 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20905 | 13 WEB_SITE="https://metacpan.org/release/ExtUtils-PkgConfig" |
pascal@20905 | 14 WGET_URL="https://cpan.metacpan.org/CPAN/authors/id/X/XA/XAOC/$TARBALL" |
claudinei@3179 | 15 |
pascal@24102 | 16 current_version() |
pascal@24102 | 17 { |
pascal@24102 | 18 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 19 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 20 } |
pascal@24102 | 21 |
claudinei@3179 | 22 # Rules to configure and make the package. |
claudinei@3179 | 23 compile_rules() |
claudinei@3179 | 24 { |
claudinei@3179 | 25 perl Makefile.PL && |
claudinei@3179 | 26 make && |
pascal@14702 | 27 make DESTDIR=$DESTDIR install |
claudinei@3179 | 28 } |
claudinei@3179 | 29 |
claudinei@3179 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
claudinei@3179 | 31 genpkg_rules() |
claudinei@3179 | 32 { |
claudinei@3179 | 33 mkdir -p $fs/usr |
pascal@14702 | 34 cp -a $install/usr/lib $fs/usr |
claudinei@3179 | 35 } |