2007-02-17 13:19:35 +11:00
|
|
|
# Description: Locale::gettext - Interface to C library functions for internatialization.
|
2019-09-08 21:47:03 +10:00
|
|
|
# URL: https://metacpan.org/release/gettext
|
2014-11-10 23:28:07 +11:00
|
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
2007-02-17 13:19:35 +11:00
|
|
|
|
|
|
|
name=p5-locale-gettext
|
2016-03-08 22:49:43 +11:00
|
|
|
version=1.07
|
2019-09-08 21:47:03 +10:00
|
|
|
release=2
|
|
|
|
source=(https://cpan.metacpan.org/authors/id/P/PV/PVANDRY/gettext-$version.tar.gz)
|
2007-02-17 13:19:35 +11:00
|
|
|
|
|
|
|
build() {
|
2016-03-08 22:49:43 +11:00
|
|
|
cd Locale-gettext-$version
|
2014-12-13 23:32:33 +11:00
|
|
|
|
2019-09-08 21:47:03 +10:00
|
|
|
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
|
2007-02-17 13:19:35 +11:00
|
|
|
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 {} \;
|
|
|
|
}
|