forked from ports/contrib
21 lines
522 B
Plaintext
21 lines
522 B
Plaintext
# Description: Install subroutines into packages easily
|
|
# URL: https://metacpan.org/release/Sub-Install
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on:
|
|
|
|
name=p5-sub-install
|
|
version=0.929
|
|
release=1
|
|
source=(https://cpan.metacpan.org/authors/id/R/RJ/RJBS/Sub-Install-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Sub-Install-$version
|
|
perl Makefile.PL INSTALLDIRS=vendor
|
|
make
|
|
make DESTDIR=$PKG install
|
|
find $PKG -name .packlist -o \
|
|
-name perllocal.pod -o \
|
|
-name README -o \
|
|
-name '*.bs' | xargs rm
|
|
}
|