wok annotate perl-expect/receipt @ rev 20793
linld: fix strcatb
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 14 18:37:56 2019 +0100 (2019-02-14) |
parents | 2d12ebd38be4 |
children | ee465f6e1323 |
rev | line source |
---|---|
pascal@13352 | 1 # SliTaz package receipt. |
pascal@13352 | 2 |
pascal@13352 | 3 PACKAGE="perl-expect" |
pascal@13352 | 4 VERSION="1.21" |
pascal@13352 | 5 CATEGORY="development" |
pascal@13353 | 6 SHORT_DESC="Expect.pm module is a Perl extension." |
pascal@13352 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@20682 | 9 WEB_SITE="https://metacpan.org/" |
pascal@13352 | 10 DEPENDS="perl-io-tty" |
pascal@13352 | 11 SUGGESTED="perl-io-stty" |
pascal@13354 | 12 BUILD_DEPENDS="perl-io-tty" |
pascal@13352 | 13 SOURCE="Expect" |
pascal@13352 | 14 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@20682 | 15 WGET_URL="https://metacpan.org/CPAN/authors/id/R/RG/RGIERSIG/$TARBALL" |
pascal@13352 | 16 |
pascal@13352 | 17 # Rules to configure and make the package. |
pascal@13352 | 18 compile_rules() |
pascal@13352 | 19 { |
pascal@13352 | 20 cd $src |
pascal@13352 | 21 perl Makefile.PL && |
pascal@13352 | 22 make && |
pascal@13352 | 23 make install DESTDIR=$DESTDIR |
pascal@13352 | 24 } |
pascal@13352 | 25 |
pascal@13352 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13352 | 27 genpkg_rules() |
pascal@13352 | 28 { |
pascal@13352 | 29 mkdir -p $fs/usr |
pascal@13352 | 30 cp -a $install/usr/lib $fs/usr |
pascal@13352 | 31 } |
pascal@13352 | 32 |