blob: 6dea470bf9a2e1394956776d9ad03b0697f6a90b (
plain)
1 # Description: Locale::gettext - Interface to C library functions for internatialization.
2 # URL: http://search.cpan.org/~pvandry/gettext-1.05/
3 # Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
4 # Packager: bashy, ronny kornexl at online de
5 # Depends on:
6
7
8 name=p5-locale-gettext
9 version=1.05
10 release=2
11 source=(http://www.perl.com/CPAN/authors/id/PVANDRY/gettext-$version.tar.gz)
12
13 build() {
14 cd gettext-$version
15
16 perl Makefile.PL
17 make OPTIMIZE="$CFLAGS"
18 make DESTDIR=$PKG install
19
20 # Remove perlcrap
21 find $PKG \
22 -name '.packlist' -delete -or \
23 -name '*.bs' -delete -or \
24 -name 'autosplit.ix' -delete -or \
25 -name 'perllocal.pod' -delete
26
27 # Remove empty directories
28 find $PKG -depth -empty -exec rm -rf {} \;
29 }
|