wok-6.x view perl-curses/receipt @ rev 13592

lessfs: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 08 10:00:51 2012 +0100 (2012-11-08)
parents 7d3a8482623d
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-curses"
4 VERSION="1.24"
5 CATEGORY="development"
6 SHORT_DESC="Curses module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="perl ncursesw"
9 SOURCE="Curses"
10 TARBALL="$SOURCE-$VERSION.tgz"
11 WEB_SITE="http://cpan.org/"
12 WGET_URL="http://cpan.org/authors/id/G/GI/GIRAFFED/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 perl Makefile.PL &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 }