wok annotate perl-bit-vector/receipt @ rev 10172
Add perl-bit-vector.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 21:59:25 2011 +0000 (2011-05-20) |
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 } |