contrib/p5-unix-syslog/Pkgfile

20 lines
633 B
Plaintext
Raw Normal View History

2006-10-28 22:31:59 +02:00
# Description: Perl interface to the UNIX syslog(3) calls
# URL: http://search.cpan.org/~mharnisch/Unix-Syslog-0.100/Syslog.pm
2006-10-29 12:57:46 +01:00
# Maintainer: Mikhail Kolesnik, mike at openbunker dot org
2006-10-28 22:31:59 +02:00
# Depends on:
name=p5-unix-syslog
2008-06-21 20:40:14 +02:00
version=1.1
release=2
2006-10-28 22:31:59 +02:00
source=(http://search.cpan.org/CPAN/authors/id/M/MH/MHARNISCH/Unix-Syslog-$version.tar.gz)
build() {
2006-10-28 22:31:59 +02:00
cd Unix-Syslog-$version
perl Makefile.PL
make OPTIMIZE="${CFLAGS}"
make DESTDIR=${PKG} install
rm ${PKG}/usr/lib/perl5/site_perl/5.10.?/linux/auto/Unix/Syslog/{.packlist,Syslog.bs}
2006-10-28 22:31:59 +02:00
find ${PKG} -name perllocal.pod -exec rm {} \;
find $PKG -type d -depth -empty -exec rm -rf {} \;
}