wok-current annotate perl-expect/receipt @ rev 25569
BootProg: fix boot16.asm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 12 21:35:09 2023 +0000 (15 months ago) |
parents | ee465f6e1323 |
children |
rev | line source |
---|---|
pascal@13352 | 1 # SliTaz package receipt. |
pascal@13352 | 2 |
pascal@13352 | 3 PACKAGE="perl-expect" |
Hans-G?nter@23322 | 4 VERSION="1.35" |
pascal@13352 | 5 CATEGORY="development" |
Hans-G?nter@23322 | 6 SHORT_DESC="Perl extension Expect." |
pascal@13352 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
Hans-G?nter@23322 | 9 WEB_SITE="https://metacpan.org/release/Expect" |
Hans-G?nter@23322 | 10 |
pascal@13352 | 11 SOURCE="Expect" |
pascal@13352 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
Hans-G?nter@23322 | 13 WGET_URL="https://www.cpan.org/modules/by-module/Expect/$TARBALL" |
Hans-G?nter@23322 | 14 |
Hans-G?nter@23322 | 15 SUGGESTED="perl-io-stty" |
Hans-G?nter@23322 | 16 DEPENDS="perl-io-tty" |
Hans-G?nter@23322 | 17 BUILD_DEPENDS="perl-io-tty" |
pascal@13352 | 18 |
pascal@24102 | 19 current_version() |
pascal@24102 | 20 { |
pascal@24102 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24102 | 22 sed '/release-name/!d;s|.*-v*||;s|<.*||;q' |
pascal@24102 | 23 } |
pascal@24102 | 24 |
pascal@13352 | 25 # Rules to configure and make the package. |
pascal@13352 | 26 compile_rules() |
pascal@13352 | 27 { |
pascal@13352 | 28 perl Makefile.PL && |
pascal@13352 | 29 make && |
pascal@13352 | 30 make install DESTDIR=$DESTDIR |
pascal@13352 | 31 } |
pascal@13352 | 32 |
pascal@13352 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13352 | 34 genpkg_rules() |
pascal@13352 | 35 { |
pascal@13352 | 36 mkdir -p $fs/usr |
Hans-G?nter@23322 | 37 cp -a $install/usr/lib $fs/usr |
pascal@13352 | 38 } |