mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-29 10:21:10 +02:00
42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
# Automatically generated by apkbuild-cpan, template 1
|
|
# Contributor:
|
|
# Maintainer:
|
|
pkgname=perl-shell-config-generate
|
|
_pkgreal=Shell-Config-Generate
|
|
pkgver=0.24
|
|
pkgrel=0
|
|
pkgdesc="Portably generate config for any shell"
|
|
url="http://search.cpan.org/dist/Shell-Config-Generate/"
|
|
arch="noarch"
|
|
license="GPL PerlArtistic"
|
|
cpandepends="perl-shell-guess"
|
|
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="4ec8afab38da4f266dcfd04ebe7d503a Shell-Config-Generate-0.24.tar.gz"
|
|
sha256sums="b83b1b8e9b6bcef3626a3d54c1c937e1a0ce579ecd7c592383dc36b424225baf Shell-Config-Generate-0.24.tar.gz"
|
|
sha512sums="0c1a95ec0f150a5776bcdb6d6ae6bcf59c29c7eec99c2f539f5dae7225507d785460890118ce82a7d2edbb17822e1fa19a9e5cf4a7e273d14cbce6284616ea7b Shell-Config-Generate-0.24.tar.gz"
|