wok-6.x annotate perl-net-ldap/receipt @ rev 6110
fox, fox14, glew, perl-net-ldap: fix build_depends (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 04 13:06:54 2010 +0200 (2010-09-04) |
parents | d38ad8b2c6a5 |
children | 2d12ebd38be4 |
rev | line source |
---|---|
pascal@1674 | 1 # SliTaz package receipt. |
pascal@1674 | 2 |
pascal@1674 | 3 PACKAGE="perl-net-ldap" |
pascal@1674 | 4 VERSION="0.39" |
pascal@1674 | 5 CATEGORY="development" |
pascal@1674 | 6 SHORT_DESC="Net::LDAP module is a Perl extension." |
pascal@1674 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1674 | 8 #DEPENDS="perl perl-convert-asn1 perl-io-socket-ssl perl-uri-ldap perl-authen-sasl perl-xml-sax-writer" |
pascal@6110 | 9 DEPENDS="perl perl-convert-asn1 perl-uri perl-authen-sasl" |
pascal@1674 | 10 BUILD_DEPENDS="$DEPENDS" |
pascal@1674 | 11 SOURCE="perl-ldap" |
pascal@1674 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@1743 | 13 WEB_SITE="http://cpan.org/" |
pascal@1674 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/G/GB/GBARR/$TARBALL" |
pascal@1674 | 15 |
pascal@1674 | 16 # Rules to configure and make the package. |
pascal@1674 | 17 compile_rules() |
pascal@1674 | 18 { |
pascal@1674 | 19 cd $src |
pascal@1674 | 20 yes n | perl Makefile.PL && |
pascal@1674 | 21 make && |
pascal@1674 | 22 make DESTDIR=$PWD/_pkg install |
pascal@1674 | 23 } |
pascal@1674 | 24 |
pascal@1674 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1674 | 26 genpkg_rules() |
pascal@1674 | 27 { |
pascal@1674 | 28 mkdir -p $fs/usr |
pascal@1674 | 29 cp -a $_pkg/usr/lib $fs/usr |
pascal@1674 | 30 } |
pascal@1674 | 31 |