diff options
author | Stuart Cardall <developer@it-offshore.co.uk> | 2017-02-13 13:45:30 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-02-14 07:57:36 +0000 |
commit | c3863753e7c5b34bac848c43f6e72a58ffa6435e (patch) | |
tree | 6ffb28e4171e4257a56ab2f43ca78d44ae92e6a8 /community/perl-ipc-signal/APKBUILD | |
parent | 3ee55954f80411fbb010a27f5cab3a30edaf972c (diff) | |
download | aports-c3863753e7c5b34bac848c43f6e72a58ffa6435e.tar.bz2 aports-c3863753e7c5b34bac848c43f6e72a58ffa6435e.tar.xz |
unmaintained/perl-ipc-signal: move to community / take ownership
Diffstat (limited to 'community/perl-ipc-signal/APKBUILD')
-rw-r--r-- | community/perl-ipc-signal/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/community/perl-ipc-signal/APKBUILD b/community/perl-ipc-signal/APKBUILD new file mode 100644 index 0000000000..05cc2bcdef --- /dev/null +++ b/community/perl-ipc-signal/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Valery Kartel <valery.kartel@gmail.com> +# Maintainer: Stuart Cardall <developer@it-offshore.co.uk> +pkgname=perl-ipc-signal +_pkgreal=IPC-Signal +pkgver=1.00 +pkgrel=1 +pkgdesc="Perl module provides utility functions dealing with signals" +url="http://search.cpan.org/dist/IPC-Signal/" +arch="noarch" +license="GPL PerlArtistic" +makedepends="perl-dev" +subpackages="$pkgname-doc" +source="http://search.cpan.org/CPAN/authors/id/R/RO/ROSCH/$_pkgreal-$pkgver.tar.gz" +builddir="$srcdir/$_pkgreal-$pkgver" + +prepare() { + cd "$builddir" + default_prepare || return 1 + 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 + mv "$pkgdir"/usr/share/perl5/vendor_perl/* "$pkgdir"/usr/lib/perl5/vendor_perl + rm -fr "$pkgdir"/usr/share/perl5 +} + +md5sums="4cebf17fdf1785eaf8c151bf2e8c360a IPC-Signal-1.00.tar.gz" +sha256sums="7c21f9c8c2d0c0f0f0f46e77de7c3d879dd562668ddf0525875c38cef2076fd0 IPC-Signal-1.00.tar.gz" +sha512sums="31ee15a55539546532cb8deb9bd379e0014b526fcd79ac20dc53591391b0fb50b182f6f653837bc230debb1779418316b7ac8e389224ad41a0aa3a380c76f229 IPC-Signal-1.00.tar.gz" |