aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/perl-software-license
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/perl-software-license')
-rw-r--r--unmaintained/perl-software-license/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/perl-software-license/APKBUILD b/unmaintained/perl-software-license/APKBUILD
new file mode 100644
index 0000000000..2898e70942
--- /dev/null
+++ b/unmaintained/perl-software-license/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Francesco Colista <francesco.colista@gmail.com>
+# Maintainer: Francesco Colista <francesco.colista@gmail.com>
+pkgname=perl-software-license
+_pkgreal=Software-License
+pkgver=0.103004
+pkgrel=0
+pkgdesc="packages that provide templated software licenses"
+url="http://search.cpan.org/dist/Software-License/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends="perl-text-template perl-data-section perl-sub-install"
+cpanmakedepends=" "
+depends="$cpandepends"
+makedepends="perl-dev $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/R/RJ/RJBS/$_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 && make test
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+ find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
+}
+
+md5sums="0c5fd53d93818566234578b27d667b35 Software-License-0.103004.tar.gz"