diff options
author | Dan Theisen <djt@hxx.in> | 2018-09-26 01:29:27 -0700 |
---|---|---|
committer | Dan Theisen <djt@hxx.in> | 2018-09-26 20:07:32 -0700 |
commit | aa97921385a3ddeb93253881570d0ca89593dc73 (patch) | |
tree | 243d5ba860956faa5422ef7388dc53c236eb3942 /user | |
parent | f705db8c461aed684112dc535597631489f4f72a (diff) | |
download | packages-aa97921385a3ddeb93253881570d0ca89593dc73.tar.gz packages-aa97921385a3ddeb93253881570d0ca89593dc73.tar.bz2 packages-aa97921385a3ddeb93253881570d0ca89593dc73.tar.xz packages-aa97921385a3ddeb93253881570d0ca89593dc73.zip |
user/perl-inline-c: new package
Diffstat (limited to 'user')
-rw-r--r-- | user/perl-inline-c/APKBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/user/perl-inline-c/APKBUILD b/user/perl-inline-c/APKBUILD new file mode 100644 index 000000000..50d298bb0 --- /dev/null +++ b/user/perl-inline-c/APKBUILD @@ -0,0 +1,35 @@ +# Contributor: Dan Theisen <djt@hxx.in> +# Maintainer: Adélie Perl Team <adelie-perl@lists.adelielinux.org> +pkgname=perl-inline-c +pkgver=0.78 +pkgrel=0 +pkgdesc="C Language Support for Inline" +url="https://metacpan.org/pod/Inline::C" +arch="noarch" +license="GPL-1.0+ OR Artistic-1.0-Perl" +depends="perl perl-inline perl-pegex perl-parse-recdescent" +makedepends="perl-dev perl-file-sharedir-install" +checkdepends="perl-test-warn perl-yaml-libyaml perl-file-copy-recursive" +install="" +subpackages="$pkgname-doc" +source="https://cpan.metacpan.org/authors/id/T/TI/TINITA/Inline-C-$pkgver.tar.gz" +builddir="$srcdir/Inline-C-$pkgver" + +build() { + cd "$builddir" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +check() { + cd "$builddir" + make test +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete +} + +sha512sums="368e68dfb9f1700534d9b391090e340172e3adde5fe15576f883e9341047fec35cea8660751883b27e128ad91dda363d513547368097a989457d669bbbdc8ce4 Inline-C-0.78.tar.gz" |