aboutsummaryrefslogtreecommitdiffstats
path: root/main/perl-inline-c/APKBUILD
blob: f31a5e7f8c87c31661da06fe0ae0264ed18d34d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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.76
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="c0fbfdd058075c9271a1384c822c9a87  Inline-C-0.76.tar.gz"
sha256sums="22e9713b4d331d3c49e4a9a9f012dbf84cec25a01e5da4f57091be287f1a9a35  Inline-C-0.76.tar.gz"
sha512sums="43bf0bc6addf08c4c3347b074babdc514b1d6cee052d1124c5d9d4a4b52bd0e92ac79f8393f35252a98ef337fb18a9da47cdf545b1010b3f0d9c4b7fd9eb8c6d  Inline-C-0.76.tar.gz"