wok-6.x annotate perl-uri-ldap/receipt @ rev 1668
Add perl-uri-ldap
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 08 13:54:57 2008 +0000 (2008-11-08) |
parents | |
children | d38ad8b2c6a5 |
rev | line source |
---|---|
pascal@1668 | 1 # SliTaz package receipt. |
pascal@1668 | 2 |
pascal@1668 | 3 PACKAGE="perl-uri-ldap" |
pascal@1668 | 4 VERSION="1.37" |
pascal@1668 | 5 CATEGORY="development" |
pascal@1668 | 6 SHORT_DESC="URI::ldap module is a Perl extension." |
pascal@1668 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1668 | 8 DEPENDS="perl" |
pascal@1668 | 9 BUILD_DEPENDS="perl" |
pascal@1668 | 10 SOURCE="URI" |
pascal@1668 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1668 | 12 WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" |
pascal@1668 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GA/GAAS/$TARBALL" |
pascal@1668 | 14 |
pascal@1668 | 15 # Rules to configure and make the package. |
pascal@1668 | 16 compile_rules() |
pascal@1668 | 17 { |
pascal@1668 | 18 cd $src |
pascal@1668 | 19 perl Makefile.PL && |
pascal@1668 | 20 make && |
pascal@1668 | 21 make DESTDIR=$PWD/_pkg install |
pascal@1668 | 22 } |
pascal@1668 | 23 |
pascal@1668 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1668 | 25 genpkg_rules() |
pascal@1668 | 26 { |
pascal@1668 | 27 mkdir -p $fs/usr |
pascal@1668 | 28 cp -a $_pkg/usr/lib $fs/usr |
pascal@1668 | 29 } |
pascal@1668 | 30 |