wok-current view perl-curses/receipt @ rev 15944
Make lzma cross compile and fix libxml2
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Feb 23 00:35:49 2014 +0100 (2014-02-23) |
parents | 2d12ebd38be4 |
children | 13f8c8204124 |
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 LICENSE="GPL"
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 DEPENDS="perl ncursesw"
15 BUILD_DEPENDS="perl ncursesw-dev"
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 mkdir -p $fs/usr
30 cp -a $install/usr/lib $fs/usr
31 }