mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/perl-local-lib: new aport
This commit is contained in:
parent
1299f9d662
commit
adda09f4e2
37
testing/perl-local-lib/APKBUILD
Normal file
37
testing/perl-local-lib/APKBUILD
Normal file
@ -0,0 +1,37 @@
|
||||
# Automatically generated by apkbuild-cpan, template 1
|
||||
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
|
||||
# Maintainer: Kiyoshi Aman <kiyoshi.aman@gmail.com>
|
||||
pkgname=perl-local-lib
|
||||
_pkgreal=local-lib
|
||||
pkgver=1.008004
|
||||
pkgrel=0
|
||||
pkgdesc="create and use a local lib/ for perl modules with PERL5LIB"
|
||||
url="http://search.cpan.org/dist/local-lib/"
|
||||
arch="noarch"
|
||||
license="GPL PerlArtistic"
|
||||
cpandepends=""
|
||||
cpanmakedepends=""
|
||||
depends="$cpandepends"
|
||||
makedepends="perl-dev $cpanmakedepends"
|
||||
subpackages="$pkgname-doc"
|
||||
source="http://search.cpan.org/CPAN/authors/id/A/AP/APEIRON/$_pkgreal-$pkgver.tar.gz"
|
||||
|
||||
_builddir="$srcdir/$_pkgreal-$pkgver"
|
||||
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
make && make test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$_builddir"
|
||||
make DESTDIR="$pkgdir" install || return 1
|
||||
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
|
||||
}
|
||||
|
||||
md5sums="6244fa9d77e818594acbaf572aece326 local-lib-1.008004.tar.gz"
|
||||
Loading…
x
Reference in New Issue
Block a user