wok-6.x annotate perl-bit-vector/receipt @ rev 10625
wvstreams: fic build (CONFIGURE_ARGS must sometime go first) + fix bdeps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 26 21:39:55 2011 +0200 (2011-05-26) |
parents | |
children | 2d12ebd38be4 |
rev | line source |
---|---|
slaxemulator@10172 | 1 # SliTaz package receipt. |
slaxemulator@10172 | 2 |
slaxemulator@10172 | 3 PACKAGE="perl-bit-vector" |
slaxemulator@10172 | 4 VERSION="7.1" |
slaxemulator@10172 | 5 CATEGORY="development" |
slaxemulator@10172 | 6 SHORT_DESC="Efficient bit vector, set of integers and big int math library" |
slaxemulator@10172 | 7 MAINTAINER="slaxemulator@gmail.com" |
slaxemulator@10172 | 8 DEPENDS="perl perl-carp-clan" |
slaxemulator@10172 | 9 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@10172 | 10 SOURCE="Bit-Vector" |
slaxemulator@10172 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10172 | 12 WEB_SITE="http://search.cpan.org/dist/Bit-Vector/" |
slaxemulator@10172 | 13 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$TARBALL" |
slaxemulator@10172 | 14 |
slaxemulator@10172 | 15 # Rules to configure and make the package. |
slaxemulator@10172 | 16 compile_rules() |
slaxemulator@10172 | 17 { |
slaxemulator@10172 | 18 cd $src |
slaxemulator@10172 | 19 perl Makefile.PL && |
slaxemulator@10172 | 20 make && |
slaxemulator@10172 | 21 make install DESTDIR=$DESTDIR |
slaxemulator@10172 | 22 } |
slaxemulator@10172 | 23 |
slaxemulator@10172 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10172 | 25 genpkg_rules() |
slaxemulator@10172 | 26 { |
slaxemulator@10172 | 27 mkdir -p $fs/usr |
slaxemulator@10172 | 28 cp -a $_pkg/usr/lib $fs/usr |
slaxemulator@10172 | 29 } |