#Maintainer: George Vlahavas pkgname=perl-io-multiplex pkgver=1.10 pkgrel=2gv source=(http://search.cpan.org/CPAN/authors/id/B/BB/BBB/IO-Multiplex-$pkgver.tar.gz) docs=("readme" "install" "copying" "changelog*" "authors" "news" "todo" "license" "maintainers" "copyright.pod") slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "perl-io-multiplex (Manage IO on many file handles)" "IO::Multiplex is designed to take the effort out of managing multiple" "file handles. It is essentially a really fancy front end to the select" "system call. In addition to maintaining the select loop, it buffers" "all input and output to/from the file handles. It can also accept" "incoming connections on one or more listen sockets." ) build() { cd $startdir/src/IO-Multiplex-$pkgver perl Makefile.PL || exit 1 make OPTIMIZE="$CFLAGS" || exit 1 make install INSTALLDIRS=vendor DESTDIR=$startdir/pkg || exit 1 # Remove perllocal.pod and .packlist if present in the package ( for i in perllocal.pod .packlist; do find $startdir/pkg -name "$i" -exec rm -rf {} \; done ) || exit 1 }