summaryrefslogtreecommitdiffstats
path: root/base/p5-anyevent/Pkgfile
blob: 3a40f3983297cc12c9c529e6e0fd01e8de0da49a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Description: Connecteur perl pour AnyEvent
# URL: http://www.gtkperl.org
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch

name=p5-anyevent
version=5.24
release=1
source=(http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/AnyEvent-$version.tar.gz)

build() {
	cd AnyEvent-$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 ||:
}