wok annotate perl-crypt-smbhash/receipt @ rev 5447

linmodem-intel-536ep: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 13:17:38 2010 +0200 (2010-05-05)
parents
children 2d12ebd38be4
rev   line source
pascal@1404 1 # SliTaz package receipt.
pascal@1404 2
pascal@1404 3 PACKAGE="perl-crypt-smbhash"
pascal@1404 4 VERSION="0.12"
pascal@1404 5 CATEGORY="development"
pascal@1404 6 SHORT_DESC="Crypt::SmbHash module is a Perl extension."
pascal@1404 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1404 8 DEPENDS="perl"
pascal@1404 9 BUILD_DEPENDS="perl"
pascal@1404 10 SOURCE="Crypt-SmbHash"
pascal@1404 11 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@1404 12 WEB_SITE="http://cpan.org/"
pascal@1404 13 WGET_URL="http://cpan.org/authors/id/B/BJ/BJKUIT/$TARBALL"
pascal@1404 14
pascal@1404 15 # Rules to configure and make the package.
pascal@1404 16 compile_rules()
pascal@1404 17 {
pascal@1404 18 cd $src
pascal@1404 19 perl Makefile.PL
pascal@1404 20 make
pascal@1404 21 make DESTDIR=$PWD/_pkg install
pascal@1404 22 }
pascal@1404 23
pascal@1404 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1404 25 genpkg_rules()
pascal@1404 26 {
pascal@1404 27 mkdir -p $fs/usr
pascal@1404 28 cp -a $_pkg/usr/lib $fs/usr
pascal@1404 29 }
pascal@1404 30