blob: d6734c461634daa604efba448e285c9a08df7884 (
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
40
41
|
# Automatically generated by apkbuild-cpan, template 1
# Contributor: Francesco Colista <francesco.colista@gmail.com>
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=perl-file-which
_pkgreal=File-Which
pkgver=1.19
pkgrel=0
pkgdesc="Perl implementation of the which utility as an API"
url="http://search.cpan.org/dist/File-Which/"
arch="noarch"
license="GPL PerlArtistic"
cpandepends=""
cpanmakedepends=" "
depends="$cpandepends"
makedepends="perl-dev $cpanmakedepends"
subpackages="$pkgname-doc"
source="http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/$_pkgreal-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgreal-$pkgver"
prepare() {
cd "$_builddir"
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
}
md5sums="27f967930f011b646c1bf839b606e164 File-Which-1.19.tar.gz"
sha256sums="4bad2708c7efa1e756a94c285a64eebbedf9335d2da1b7d3bbed6409c86e9656 File-Which-1.19.tar.gz"
sha512sums="5cce597185130c63c1cd941516ff51e0fe31ca927e0da67e779a6423afe3569efa5c8eef0e3780dade99e3d23578d0c21780a910690a54120039e43c45333357 File-Which-1.19.tar.gz"
|