aboutsummaryrefslogblamecommitdiffstats
path: root/main/perl-ipc-sharelite/APKBUILD
blob: 9ab8c30d93b30486c90874432d945c1d9d29ce9f (plain) (tree)
1
2
3
4
5



                                                     
        




































                                                                                                                                                                        
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=perl-ipc-sharelite
pkgver=0.17
pkgrel=2
pkgdesc="Lightweight interface to shared memory"
url="http://cpansearch.perl.org/src/ANDYA/IPC-ShareLite-$pkgver"
arch="all"
license="PerlArtistic GPL"
depends=""
depends_dev=""
makedepends="$depends_dev perl-dev"
install=""
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/A/AN/ANDYA/IPC-ShareLite-$pkgver.tar.gz"

_builddir="$srcdir"/IPC-ShareLite-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}

md5sums="54c7aa08dc065b6c946c48491d33450d  IPC-ShareLite-0.17.tar.gz"
sha256sums="14d406b91da96d6521d0d1a82d22a306274765226b86b0a56e7ffddcf96ae7bf  IPC-ShareLite-0.17.tar.gz"
sha512sums="f796f6766df11205755de4672ff8a586690545ccaa2f91c3fc65f106f3b61e1cbd86ee3e97dadf787809e3be32f503670cb67dafc9b18eee30d59d8be03b5ee9  IPC-ShareLite-0.17.tar.gz"