blob: 4361ff034869e8e8ae80f2a07383ee5774e9b3aa (
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.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"
|