wok annotate perl-crypt-smbhash/receipt @ rev 12076
compiz-core-dev: fix genpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 09 09:43:47 2012 +0100 (2012-03-09) |
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 |