wok-stable view perl-curses/receipt @ rev 10634
jdk6-*: fix receipt (if no files it must be a meta package)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 23:47:17 2011 +0200 (2011-05-26) |
parents | 7d3a8482623d |
children |
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 }