wok-6.x annotate perl-net-ldap/receipt @ rev 4279
libnl: fix build (http://bugs.gentoo.org/show_bug.cgi?id=225393)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Sep 26 06:38:25 2009 +0000 (2009-09-26) |
parents | f0c4e57ec13e |
children | 6cc3281e3803 |
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@1674 | 9 DEPENDS="perl perl-convert-asn1 perl-uri-ldap 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 |