wok-6.x annotate perl-filesys-statvfs/receipt @ rev 15792
linux: CONFIG_I2C_EG20T=m
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Fri Jan 17 10:28:33 2014 +0000 (2014-01-17) |
parents | ff88377757d2 |
children | 20661c276bcf |
rev | line source |
---|---|
pascal@14280 | 1 # SliTaz package receipt. |
pascal@14280 | 2 |
pascal@14280 | 3 PACKAGE="perl-filesys-statvfs" |
pascal@14280 | 4 VERSION="0.82" |
pascal@14280 | 5 CATEGORY="development" |
pascal@14280 | 6 SHORT_DESC="Filesys::Statvfs module is a Perl extension." |
pascal@14280 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14702 | 8 LICENSE="GPL" |
pascal@14280 | 9 SOURCE="Filesys-Statvfs" |
pascal@14280 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@14280 | 11 WEB_SITE="http://cpan.org/" |
pascal@14280 | 12 WGET_URL="http://search.cpan.org/CPAN/authors/id/I/IG/IGUTHRIE/$TARBALL" |
pascal@14280 | 13 |
pascal@14280 | 14 DEPENDS="perl" |
pascal@14280 | 15 BUILD_DEPENDS="perl" |
pascal@14280 | 16 |
pascal@14280 | 17 # Rules to configure and make the package. |
pascal@14280 | 18 compile_rules() |
pascal@14280 | 19 { |
pascal@14280 | 20 cd $src |
pascal@14280 | 21 perl Makefile.PL && |
pascal@14280 | 22 make && |
pascal@14280 | 23 make DESTDIR=$DESTDIR install |
pascal@14280 | 24 } |
pascal@14280 | 25 |
pascal@14280 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@14280 | 27 genpkg_rules() |
pascal@14280 | 28 { |
pascal@14280 | 29 mkdir -p $fs/usr |
pascal@14280 | 30 cp -a $install/usr/lib $fs/usr |
pascal@14280 | 31 } |
pascal@14280 | 32 |