wok-next view perl-try-tiny/receipt @ rev 19542

Build *.pc files for ncurses(w)-dev; rebuild sc-im with ncursesw.pc
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Dec 05 15:16:10 2016 +0200 (2016-12-05)
parents
children 1a86cb99cbbf
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-try-tiny"
4 VERSION="0.22"
5 CATEGORY="development"
6 SHORT_DESC="Try::Tiny is a perl module"
7 MAINTAINER="nneul@neulinger.org"
8 LICENSE="GPL"
9 WEB_SITE="http://search.cpan.org/dist/Try-Tiny"
10 SOURCE="Try-Tiny"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="http://www.cpan.org/authors/id/D/DO/DOY/$TARBALL"
14 DEPENDS="perl"
15 BUILD_DEPENDS="$DEPENDS"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
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 cp -a $install/usr $fs
30 }