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
2007-10-10 12:24:45 +02:00
version=1.0
release=1
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 () {
cd Unix-Syslog-$version
perl Makefile.PL
make OPTIMIZE="${CFLAGS}"
make DESTDIR=${PKG} install
2006-11-09 14:13:52 +01:00
rm ${PKG}/usr/lib/perl5/site_perl/5.8.8/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 {} \;
}