summaryrefslogtreecommitdiffstats
path: root/p5-extutils-depends/Pkgfile
blob: 9b046c4401ebf7c1ee0bb5169714fed30998f72e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Description: Module perl
# URL: http://www.gtkperl.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: p5-xml-parser p5-xml-writer
# Run on: p5-xml-parser,p5-xml-writer

name=p5-extutils-depends
version=0.302
release=2
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/ExtUtils-Depends-$version.tar.gz)

build() {
	cd ExtUtils-Depends-$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 ||:

}