wok annotate perl-extutils-pkgconfig/receipt @ rev 25632
Up gtklife (5.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 23 14:06:29 2023 +0000 (12 months ago) |
parents | 15650f5d595b |
children | 0af8df0b46fc |
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@24976 | 14 WGET_URL="https://cpan.metacpan.org/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 } |