wok annotate perl-jcode/receipt @ rev 5277

lzma: add --version support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 16 10:18:15 2010 +0200 (2010-04-16)
parents
children 2d12ebd38be4
rev   line source
pascal@1604 1 # SliTaz package receipt.
pascal@1604 2
pascal@1604 3 PACKAGE="perl-jcode"
pascal@1604 4 VERSION="2.07"
pascal@1604 5 CATEGORY="development"
pascal@1604 6 SHORT_DESC="Jcode module is a Perl extension."
pascal@1604 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1604 8 DEPENDS="perl"
pascal@1604 9 BUILD_DEPENDS="perl"
pascal@1604 10 SOURCE="Jcode"
pascal@1604 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1604 12 WEB_SITE="http://cpan.org/"
pascal@1604 13 WGET_URL="http://cpan.org/authors/id/D/DA/DANKOGAI/$TARBALL"
pascal@1604 14
pascal@1604 15 # Rules to configure and make the package.
pascal@1604 16 compile_rules()
pascal@1604 17 {
pascal@1604 18 cd $src
pascal@1604 19 perl Makefile.PL
pascal@1604 20 make
pascal@1604 21 make DESTDIR=$PWD/_pkg install
pascal@1604 22 }
pascal@1604 23
pascal@1604 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1604 25 genpkg_rules()
pascal@1604 26 {
pascal@1604 27 mkdir -p $fs/usr
pascal@1604 28 cp -a $_pkg/usr/lib $fs/usr
pascal@1604 29 }
pascal@1604 30