summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 05:58:22 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-26 05:58:22 -0500
commit191107d09da8932cb3d9a1ccfd97de0b1e475d8d (patch)
tree27238843116fbd5c18ebb2c8d5cf519e8ef1e6b6 /system
parent7155223b10615e72b2972f01204f51a5b34bed0e (diff)
downloadpackages-191107d09da8932cb3d9a1ccfd97de0b1e475d8d.tar.gz
packages-191107d09da8932cb3d9a1ccfd97de0b1e475d8d.tar.bz2
packages-191107d09da8932cb3d9a1ccfd97de0b1e475d8d.tar.xz
packages-191107d09da8932cb3d9a1ccfd97de0b1e475d8d.zip
system/perl-file-remove: pull in for perl-module-install
Diffstat (limited to 'system')
-rw-r--r--system/perl-file-remove/APKBUILD43
1 files changed, 43 insertions, 0 deletions
diff --git a/system/perl-file-remove/APKBUILD b/system/perl-file-remove/APKBUILD
new file mode 100644
index 000000000..bed356f5e
--- /dev/null
+++ b/system/perl-file-remove/APKBUILD
@@ -0,0 +1,43 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <fcolista@alpinelinux.org>
+# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org>
+pkgname=perl-file-remove
+_pkgreal=File-Remove
+pkgver=1.57
+pkgrel=1
+pkgdesc="Remove files and directories"
+url="http://search.cpan.org/dist/File-Remove/"
+arch="noarch"
+license="GPL-2.0-only OR Artistic-1.0-Perl"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/S/SH/SHLOMIF/$_pkgreal-$pkgver.tar.gz"
+builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+}
+
+build() {
+ cd "$builddir"
+ export CFLAGS=`perl -MConfig -E 'say $Config{ccflags}'`
+ make
+}
+
+check() {
+ cd "$builddir"
+ make test
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+sha512sums="dec41e9ffaabe953e72386fa0f5112fe6ebaac0fdf6752256749162d505aaf17b905500fcf52d0cb2ef944788b8e13cb3b2cf37be8671a47aab9081e228bc92e File-Remove-1.57.tar.gz"