diff options
-rw-r--r-- | main/perl-inline-c/APKBUILD | 39 |
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" |