wok annotate perl-socket6/receipt @ rev 25645

Up libssh2 (1.11.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 17 10:58:45 2024 +0000 (9 months ago)
parents 26fc7fdd8b93
children 0af8df0b46fc
rev   line source
erjo@2656 1 # SliTaz package receipt.
erjo@2656 2
erjo@2656 3 PACKAGE="perl-socket6"
Hans-G?nter@23389 4 VERSION="0.29"
erjo@2656 5 CATEGORY="development"
Hans-G?nter@23389 6 SHORT_DESC="Perl extension Socket6."
erjo@2656 7 MAINTAINER="erjo@slitaz.org"
pascal@14702 8 LICENSE="GPL"
Hans-G?nter@23389 9 WEB_SITE="https://metacpan.org/release/Socket6"
Hans-G?nter@23389 10
Hans-G?nter@23389 11 SOURCE="Socket6"
Hans-G?nter@23389 12 TARBALL="$SOURCE-$VERSION.tar.gz"
Hans-G?nter@23389 13 WGET_URL="https://www.cpan.org/modules/by-module/Socket6/$TARBALL"
Hans-G?nter@23389 14
erjo@2656 15 DEPENDS="perl"
erjo@2656 16 BUILD_DEPENDS="perl"
erjo@2656 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
erjo@2656 24 # Rules to configure and make the package.
erjo@2656 25 compile_rules()
erjo@2656 26 {
Hans-G?nter@23389 27 perl Makefile.PL &&
Hans-G?nter@23389 28 make &&
pascal@14702 29 make DESTDIR=$DESTDIR install
erjo@2656 30 }
erjo@2656 31
erjo@2656 32 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2656 33 genpkg_rules()
erjo@2656 34 {
erjo@2656 35 mkdir -p $fs/usr
Hans-G?nter@23389 36 cp -a $install/usr/lib $fs/usr
erjo@2656 37 }