28 lines
714 B
Plaintext
28 lines
714 B
Plaintext
# Description: Locale::gettext - Interface to C library functions for internatialization.
|
|
# URL: http://search.cpan.org/dist/gettext/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Packager: bashy, ronny kornexl at online de
|
|
|
|
name=p5-locale-gettext
|
|
version=1.07
|
|
release=1
|
|
source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-$version.tar.gz)
|
|
|
|
build() {
|
|
cd Locale-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 {} \;
|
|
}
|