wok-current view perl-term-readkey/receipt @ rev 22017

xcircuit: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 19 18:20:40 2019 +0200 (2019-10-19)
parents 18c66805dd1a
children e2b69d7cd68a
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-term-readkey"
4 VERSION="2.37"
5 CATEGORY="development"
6 SHORT_DESC="Term::ReadKey module is a Perl extension."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL"
9 DEPENDS="perl"
10 BUILD_DEPENDS="perl"
11 SOURCE="TermReadKey"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="https://metacpan.org/release/TermReadKey"
14 WGET_URL="https://cpan.metacpan.org/authors/id/J/JS/JSTOWE/$TARBALL"
16 BUILD_DEPENDS="perl-extutils-makemaker"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 perl Makefile.PL &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }