# Tanım: Perl'den gettext () fonksiyon ailesine erişime izin verir.
# URL: http://search.cpan.org/dist/gettext/
# Paketçi: alihan-ozturk28@hotmail.com milisarge
# Gerekler: 

isim=perl-locale-gettext
surum=1.07
devir=1

kaynak=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-$surum.tar.gz)

derle() {
    cd Locale-gettext-$surum
    perl Makefile.PL
    make OPTIMIZE="$CFLAGS" || exit 1
    make install INSTALLDIRS=vendor DESTDIR=$PKG || exit 1

    # Remove perllocal.pod and .packlist if present in the package
    for i in perllocal.pod .packlist; do
        find $PKG -name "$i" -exec rm -rf {} \;
    done
}