contrib/p5-locale-gettext/Pkgfile
2007-02-17 13:19:35 +11:00

31 lines
741 B
Plaintext

# Description: Locale::gettext - Interface to C library functions for internatialization.
# URL: http://search.cpan.org/~pvandry/gettext-1.05/
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
# Packager: bashy, ronny kornexl at online de
# Depends on:
name=p5-locale-gettext
version=1.05
release=2
source=(http://www.perl.com/CPAN/authors/id/PVANDRY/gettext-$version.tar.gz)
build() {
cd gettext-$version
perl Makefile.PL
make OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
# Remove perlcrap
find $PKG \
-name '.packlist' -delete -or \
-name '*.bs' -delete -or \
-name 'autosplit.ix' -delete -or \
-name 'perllocal.pod' -delete
# Remove empty directories
find $PKG -depth -empty -exec rm -rf {} \;
}