# HG changeset patch # User Pascal Bellard # Date 1226152677 0 # Node ID f0c4e57ec13e1c839bac5bc7446588f26986b241 # Parent 4a06e4596179979a2f09d98f056e660b43d643e0 Add perl-net-ldap diff -r 4a06e4596179 -r f0c4e57ec13e perl-net-ldap/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-net-ldap/receipt Sat Nov 08 13:57:57 2008 +0000 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="perl-net-ldap" +VERSION="0.39" +CATEGORY="development" +SHORT_DESC="Net::LDAP module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +#DEPENDS="perl perl-convert-asn1 perl-io-socket-ssl perl-uri-ldap perl-authen-sasl perl-xml-sax-writer" +DEPENDS="perl perl-convert-asn1 perl-uri-ldap perl-authen-sasl" +BUILD_DEPENDS="$DEPENDS" +SOURCE="perl-ldap" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://www.cpan.org/modules/by-authors/id/MJD/Template.html" +WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + yes n | perl Makefile.PL && + make && + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/lib $fs/usr +} +