wok-6.x view perl-net-ldap/receipt @ rev 8695

improve receipt
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 17 23:04:20 2011 +0100 (2011-02-17)
parents d38ad8b2c6a5
children 2d12ebd38be4
line source
1 # SliTaz package receipt.
3 PACKAGE="perl-net-ldap"
4 VERSION="0.39"
5 CATEGORY="development"
6 SHORT_DESC="Net::LDAP module is a Perl extension."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 #DEPENDS="perl perl-convert-asn1 perl-io-socket-ssl perl-uri-ldap perl-authen-sasl perl-xml-sax-writer"
9 DEPENDS="perl perl-convert-asn1 perl-uri perl-authen-sasl"
10 BUILD_DEPENDS="$DEPENDS"
11 SOURCE="perl-ldap"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WEB_SITE="http://cpan.org/"
14 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 yes n | perl Makefile.PL &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
29 cp -a $_pkg/usr/lib $fs/usr
30 }