wok rev 24178
created recipe for perl-file-sharedir-install
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 06:33:57 2021 +0100 (2021-12-31) |
parents | 27c664d6b7a3 |
children | 39fe2d0cb7fb |
files | perl-file-sharedir-install/description.txt perl-file-sharedir-install/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/perl-file-sharedir-install/description.txt Fri Dec 31 06:33:57 2021 +0100 1.3 @@ -0,0 +1,10 @@ 1.4 +File::ShareDir::Install allows you to install read-only data files from a distribution. 1.5 +It is a companion module to File::ShareDir, which allows you to locate these files 1.6 +after installation. 1.7 + 1.8 +It is a port of Module::Install::Share to ExtUtils::MakeMaker with the improvement 1.9 +of only installing the files you want; .svn, .git and other source-control junk will 1.10 +be ignored. 1.11 + 1.12 +Please note that this module installs read-only data files; empty directories will 1.13 +be ignored. 1.14 \ No newline at end of file
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/perl-file-sharedir-install/receipt Fri Dec 31 06:33:57 2021 +0100 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="perl-file-sharedir-install" 2.7 +VERSION="0.13" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="Perl extension to install shared files." 2.10 +MAINTAINER="maintainer@slitaz.org" 2.11 +LICENSE="GPL" 2.12 +WEB_SITE="https://metacpan.org/pod/File::ShareDir::Install" 2.13 +REPOLOGY="perl:file-sharedir-install" 2.14 + 2.15 +SOURCE="File-ShareDir-Install" 2.16 +TARBALL="$SOURCE-$VERSION.tar.gz" 2.17 +WGET_URL="https://www.cpan.org/authors/id/E/ET/ETHER/$TARBALL" 2.18 + 2.19 +DEPENDS="perl" 2.20 +BUILD_DEPENDS="perl" 2.21 + 2.22 +# Rules to configure and make the package. 2.23 +compile_rules() 2.24 +{ 2.25 + perl Makefile.PL && 2.26 + make && 2.27 + make install DESTDIR=$DESTDIR 2.28 +} 2.29 + 2.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.31 +genpkg_rules() 2.32 +{ 2.33 + cook_copy_folders lib 2.34 +}