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)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-04-16 14:17:00 +02:00
|
|
|
|
cd $_name-$version
|
|
|
|
|
perl Makefile.PL
|
|
|
|
|
make OPTIMIZE="$CFLAGS"
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
find $PKG -name .packlist -o -name perllocal.pod -exec rm '{}' \;
|
|
|
|
|
}
|