milis/talimatname/genel/p/perl-extutils-pkgconfig/talimat

23 lines
542 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Pkgconfig için Perl bağlayıcısı
2017-04-07 15:32:01 +02:00
# URL: http://search.cpan.org/~xaoc/ExtUtils-PkgConfig-1.15/lib/ExtUtils/PkgConfig.pm
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: perl-extutils-depends
2017-04-07 15:32:01 +02:00
2016-02-24 01:27:23 +01:00
name=perl-extutils-pkgconfig
version=1.15
release=1
source=(http://www.cpan.org/modules/by-module/ExtUtils/ExtUtils-PkgConfig-$version.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
cd ExtUtils-PkgConfig-$version
perl Makefile.PL
make
make DESTDIR=$PKG install
find $PKG \
-name perllocal.pod \
-o -name .packlist | xargs rm
find $PKG -empty | xargs rmdir -p ||:
}