# HG changeset patch # User Pascal Bellard # Date 1226152497 0 # Node ID 86b25136cad815efd98ef88633bf2b7738b8f083 # Parent 1bea3c065ea955b2e3f5098e35fcc3792e875c11 Add perl-uri-ldap diff -r 1bea3c065ea9 -r 86b25136cad8 perl-uri-ldap/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-uri-ldap/receipt Sat Nov 08 13:54:57 2008 +0000 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="perl-uri-ldap" +VERSION="1.37" +CATEGORY="development" +SHORT_DESC="URI::ldap module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +DEPENDS="perl" +BUILD_DEPENDS="perl" +SOURCE="URI" +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/GA/GAAS/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + 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 +} +