wok-6.x annotate perl-curses/receipt @ rev 10367
pkcs: Fixed category.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun May 22 20:31:50 2011 +0000 (2011-05-22) |
parents | 7d3a8482623d |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1615 | 1 # SliTaz package receipt. |
pascal@1615 | 2 |
pascal@1615 | 3 PACKAGE="perl-curses" |
pascal@1615 | 4 VERSION="1.24" |
pascal@1615 | 5 CATEGORY="development" |
pascal@1615 | 6 SHORT_DESC="Curses module is a Perl extension." |
pascal@1615 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@9215 | 8 DEPENDS="perl ncursesw" |
pascal@1615 | 9 SOURCE="Curses" |
pascal@1615 | 10 TARBALL="$SOURCE-$VERSION.tgz" |
pascal@1615 | 11 WEB_SITE="http://cpan.org/" |
pascal@1615 | 12 WGET_URL="http://cpan.org/authors/id/G/GI/GIRAFFED/$TARBALL" |
pascal@1615 | 13 |
pascal@1615 | 14 # Rules to configure and make the package. |
pascal@1615 | 15 compile_rules() |
pascal@1615 | 16 { |
pascal@1615 | 17 cd $src |
pascal@1615 | 18 perl Makefile.PL && |
pascal@1615 | 19 make && |
pascal@1615 | 20 make DESTDIR=$PWD/_pkg install |
pascal@1615 | 21 } |
pascal@1615 | 22 |
pascal@1615 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1615 | 24 genpkg_rules() |
pascal@1615 | 25 { |
pascal@1615 | 26 mkdir -p $fs/usr |
pascal@1615 | 27 cp -a $_pkg/usr/lib $fs/usr |
pascal@1615 | 28 } |
pascal@1615 | 29 |