wok-next annotate perl-bit-vector/receipt @ rev 15526
Add epm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 20 16:06:44 2013 +0000 (2013-11-20) |
parents | 2b78b526b09c |
children | 1a86cb99cbbf |
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" |
pascal@14702 | 8 LICENSE="GPL" |
slaxemulator@10172 | 9 DEPENDS="perl perl-carp-clan" |
slaxemulator@10172 | 10 BUILD_DEPENDS="$DEPENDS" |
slaxemulator@10172 | 11 SOURCE="Bit-Vector" |
slaxemulator@10172 | 12 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@10172 | 13 WEB_SITE="http://search.cpan.org/dist/Bit-Vector/" |
slaxemulator@10172 | 14 WGET_URL="http://search.cpan.org/CPAN/authors/id/S/ST/STBEY/$TARBALL" |
slaxemulator@10172 | 15 |
slaxemulator@10172 | 16 # Rules to configure and make the package. |
slaxemulator@10172 | 17 compile_rules() |
slaxemulator@10172 | 18 { |
slaxemulator@10172 | 19 cd $src |
slaxemulator@10172 | 20 perl Makefile.PL && |
slaxemulator@10172 | 21 make && |
slaxemulator@10172 | 22 make install DESTDIR=$DESTDIR |
slaxemulator@10172 | 23 } |
slaxemulator@10172 | 24 |
slaxemulator@10172 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10172 | 26 genpkg_rules() |
slaxemulator@10172 | 27 { |
slaxemulator@10172 | 28 mkdir -p $fs/usr |
pascal@14702 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@10172 | 30 } |