wok-next annotate perl-curses/receipt @ rev 15054
compiz-libcompizconfig-dev: fix genpkg-rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 12 21:12:36 2013 +0000 (2013-08-12) |
parents | 2d12ebd38be4 |
children | 1a86cb99cbbf |
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@14702 | 8 LICENSE="GPL" |
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@14703 | 14 DEPENDS="perl ncursesw" |
pascal@14703 | 15 BUILD_DEPENDS="perl ncursesw-dev" |
pascal@14703 | 16 |
pascal@1615 | 17 # Rules to configure and make the package. |
pascal@1615 | 18 compile_rules() |
pascal@1615 | 19 { |
pascal@1615 | 20 cd $src |
pascal@1615 | 21 perl Makefile.PL && |
pascal@1615 | 22 make && |
pascal@14702 | 23 make DESTDIR=$DESTDIR install |
pascal@1615 | 24 } |
pascal@1615 | 25 |
pascal@1615 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1615 | 27 genpkg_rules() |
pascal@1615 | 28 { |
pascal@1615 | 29 mkdir -p $fs/usr |
pascal@14702 | 30 cp -a $install/usr/lib $fs/usr |
pascal@1615 | 31 } |
pascal@1615 | 32 |