diff options
Diffstat (limited to 'p5-locale-gettext/Pkgfile')
-rw-r--r-- | p5-locale-gettext/Pkgfile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/p5-locale-gettext/Pkgfile b/p5-locale-gettext/Pkgfile new file mode 100644 index 000000000..6dea470bf --- /dev/null +++ b/p5-locale-gettext/Pkgfile @@ -0,0 +1,30 @@ +# 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 {} \; +} + |