aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-inline-c
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2015-05-01 13:03:50 +0000
committerTimo Teräs <timo.teras@iki.fi>2015-05-01 13:06:11 +0000
commitd5542f9c081e61dae1e1f91fa3138dbf5f2cd319 (patch)
tree9c2b63d83aa4a33a90ff8a0aa8edf1f3df5b23b0 /main/perl-inline-c
parentaa4cbb24332aebbfb7ec7ff872e3a653ad6f8f5d (diff)
downloadaports-d5542f9c081e61dae1e1f91fa3138dbf5f2cd319.tar.bz2
aports-d5542f9c081e61dae1e1f91fa3138dbf5f2cd319.tar.xz
main/perl-inline-c: new aport
Perl module for Inline-C http://search.cpan.org/dist/Inline-C/
Diffstat (limited to 'main/perl-inline-c')
-rw-r--r--main/perl-inline-c/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/perl-inline-c/APKBUILD b/main/perl-inline-c/APKBUILD
new file mode 100644
index 0000000000..4361ff0348
--- /dev/null
+++ b/main/perl-inline-c/APKBUILD
@@ -0,0 +1,39 @@
+# Automatically generated by apkbuild-cpan, template 1
+# Contributor: Timo Teräs <timo.teras@iki.fi>
+# Maintainer: Timo Teräs <timo.teras@iki.fi>
+pkgname=perl-inline-c
+_pkgreal=Inline-C
+pkgver=0.75
+pkgrel=0
+pkgdesc="Perl module for Inline-C"
+url="http://search.cpan.org/dist/Inline-C/"
+arch="noarch"
+license="GPL PerlArtistic"
+cpandepends=""
+cpanmakedepends=""
+depends="$cpandepends"
+makedepends="perl-dev perl-file-sharedir-install $cpanmakedepends"
+subpackages="$pkgname-doc"
+source="http://search.cpan.org/CPAN/authors/id/I/IN/INGY/$_pkgreal-$pkgver.tar.gz"
+
+_builddir="$srcdir/$_pkgreal-$pkgver"
+
+prepare() {
+ cd "$_builddir"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
+}
+
+build() {
+ cd "$_builddir"
+ make
+}
+
+package() {
+ cd "$_builddir"
+ make install DESTDIR="$pkgdir"
+ find "$pkgdir" -name perllocal.pod -delete
+}
+
+md5sums="4e9c295c1514da492306719a194f5711 Inline-C-0.75.tar.gz"
+sha256sums="df351a930897f2bea942b2affc6dabf4f731a1899fcfc36d9d48a4b340cdb21e Inline-C-0.75.tar.gz"
+sha512sums="4cd1be910a65e6b52e68eef3cf3e80de26729c97e9f9c1babe08ad3340e8006290a19aae5c4c8216c420001219b3980538335d78c9afe65f211c2a8acd77cb3e Inline-C-0.75.tar.gz"