wok-4.x annotate perl-uri-ldap/receipt @ rev 3057
Add linux-irda
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 13 16:56:42 2009 +0200 (2009-05-13) |
parents | 86b25136cad8 |
children |
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@1743 | 12 WEB_SITE="http://cpan.org/" |
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 |