wok annotate perl-file-listing/receipt @ rev 12438

ayttm: Add xorg-libXpm-dev to build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Apr 21 11:50:09 2012 +0000 (2012-04-21)
parents
children 2d12ebd38be4
rev   line source
erjo@12034 1 # SliTaz package receipt.
erjo@12034 2
erjo@12034 3 PACKAGE="perl-file-listing"
erjo@12034 4 VERSION="6.04"
erjo@12034 5 CATEGORY="development"
erjo@12034 6 SHORT_DESC="File::Listing - parse directory listing."
erjo@12034 7 MAINTAINER="erjo@slitaz.org"
erjo@12034 8 DEPENDS="perl"
erjo@12034 9 BUILD_DEPENDS="perl"
erjo@12034 10 SOURCE="File-Listing"
erjo@12034 11 TARBALL="$SOURCE-$VERSION.tar.gz"
erjo@12034 12 WEB_SITE="http://cpan.org/"
erjo@12034 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL"
erjo@12034 14
erjo@12034 15 # Rules to configure and make the package.
erjo@12034 16 compile_rules()
erjo@12034 17 {
erjo@12034 18 cd $src
erjo@12034 19 perl Makefile.PL &&
erjo@12034 20 make &&
erjo@12034 21 make DESTDIR=$PWD/_pkg install
erjo@12034 22 }
erjo@12034 23
erjo@12034 24 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@12034 25 genpkg_rules()
erjo@12034 26 {
erjo@12034 27 mkdir -p $fs/usr
erjo@12034 28 cp -a $_pkg/usr/lib $fs/usr
erjo@12034 29 }
erjo@12034 30