wok-stable annotate perl-curses/receipt @ rev 8375
Add openldap-dev to nss_ldap build depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Feb 04 02:49:31 2011 +0000 (2011-02-04) |
parents | |
children | d9b127d0b11a |
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@1615 | 8 DEPENDS="perl ncurses" |
pascal@1615 | 9 BUILD_DEPENDS="perl ncurses ncurses-dev" |
pascal@1615 | 10 SOURCE="Curses" |
pascal@1615 | 11 TARBALL="$SOURCE-$VERSION.tgz" |
pascal@1615 | 12 WEB_SITE="http://cpan.org/" |
pascal@1615 | 13 WGET_URL="http://cpan.org/authors/id/G/GI/GIRAFFED/$TARBALL" |
pascal@1615 | 14 |
pascal@1615 | 15 # Rules to configure and make the package. |
pascal@1615 | 16 compile_rules() |
pascal@1615 | 17 { |
pascal@1615 | 18 cd $src |
pascal@1615 | 19 perl Makefile.PL && |
pascal@1615 | 20 make && |
pascal@1615 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1615 | 22 } |
pascal@1615 | 23 |
pascal@1615 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1615 | 25 genpkg_rules() |
pascal@1615 | 26 { |
pascal@1615 | 27 mkdir -p $fs/usr |
pascal@1615 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1615 | 29 } |
pascal@1615 | 30 |