# HG changeset patch # User Hans-G?nter Theisgen # Date 1640928837 -3600 # Node ID b093349fa7899e84585c08bd0781e711f0e43efb # Parent 27c664d6b7a39bdccbdd532ca8e4cf13dd8b01a3 created recipe for perl-file-sharedir-install diff -r 27c664d6b7a3 -r b093349fa789 perl-file-sharedir-install/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-file-sharedir-install/description.txt Fri Dec 31 06:33:57 2021 +0100 @@ -0,0 +1,10 @@ +File::ShareDir::Install allows you to install read-only data files from a distribution. +It is a companion module to File::ShareDir, which allows you to locate these files +after installation. + +It is a port of Module::Install::Share to ExtUtils::MakeMaker with the improvement +of only installing the files you want; .svn, .git and other source-control junk will +be ignored. + +Please note that this module installs read-only data files; empty directories will +be ignored. \ No newline at end of file diff -r 27c664d6b7a3 -r b093349fa789 perl-file-sharedir-install/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-file-sharedir-install/receipt Fri Dec 31 06:33:57 2021 +0100 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="perl-file-sharedir-install" +VERSION="0.13" +CATEGORY="development" +SHORT_DESC="Perl extension to install shared files." +MAINTAINER="maintainer@slitaz.org" +LICENSE="GPL" +WEB_SITE="https://metacpan.org/pod/File::ShareDir::Install" +REPOLOGY="perl:file-sharedir-install" + +SOURCE="File-ShareDir-Install" +TARBALL="$SOURCE-$VERSION.tar.gz" +WGET_URL="https://www.cpan.org/authors/id/E/ET/ETHER/$TARBALL" + +DEPENDS="perl" +BUILD_DEPENDS="perl" + +# Rules to configure and make the package. +compile_rules() +{ + perl Makefile.PL && + make && + make install DESTDIR=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cook_copy_folders lib +}