milis/talimatname/genel/p/perl-module-build/talimat

20 lines
439 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Perl modülü binası
2016-04-16 14:17:00 +02:00
# URL:http://search.cpan.org/~leont/Module-Build-0.4216
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-04-16 14:17:00 +02:00
_name=Module-Build
name=perl-module-build
version=0.4216
release=1
source=(http://search.cpan.org/CPAN/authors/id/L/LE/LEONT/$_name-$version.tar.gz)
build() {
cd $_name-$version
perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
find $PKG -name .packlist -o -name perllocal.pod -exec rm '{}' \;
}