1
0
forked from ports/contrib

p5-locale-gettext: moved from my repo

This commit is contained in:
Danny Rawlins 2007-02-17 13:19:35 +11:00
parent cda6514e87
commit 2eab9b87df
3 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,15 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/perl5/
drwxr-xr-x root/root usr/lib/perl5/site_perl/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/Locale/
-r--r--r-- root/root usr/lib/perl5/site_perl/5.8.8/linux/Locale/gettext.pm
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Locale/
drwxr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Locale/gettext/
-r-xr-xr-x root/root usr/lib/perl5/site_perl/5.8.8/linux/auto/Locale/gettext/gettext.so
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man3/
-r--r--r-- root/root usr/man/man3/Locale::gettext.3pm.gz

View File

@ -0,0 +1 @@
f3d3f474a1458f37174c410dfef61a46 gettext-1.05.tar.gz

30
p5-locale-gettext/Pkgfile Normal file
View File

@ -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 {} \;
}