# HG changeset patch # User Pascal Bellard # Date 1365255311 -7200 # Node ID ff88377757d2438cb4b2349147b1feb81186d1b0 # Parent f23c094b18d64a346efb834e9955787024756596 Add perl-filesys-statvfs diff -r f23c094b18d6 -r ff88377757d2 perl-filesys-statvfs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-filesys-statvfs/receipt Sat Apr 06 15:35:11 2013 +0200 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="perl-filesys-statvfs" +VERSION="0.82" +CATEGORY="development" +SHORT_DESC="Filesys::Statvfs module is a Perl extension." +MAINTAINER="pascal.bellard@slitaz.org" +SOURCE="Filesys-Statvfs" +TARBALL="$SOURCE-$VERSION.tar.gz" +WEB_SITE="http://cpan.org/" +WGET_URL="http://search.cpan.org/CPAN/authors/id/I/IG/IGUTHRIE/$TARBALL" + +DEPENDS="perl" +BUILD_DEPENDS="perl" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + perl Makefile.PL && + make && + make DESTDIR=$DESTDIR install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr/lib $fs/usr +} +