2017-04-10 10:38:51 +02:00
|
|
|
# Description: Perl'den gettext () fonksiyon ailesine erişime izin verir.
|
|
|
|
# URL: http://search.cpan.org/dist/gettext/
|
2016-08-02 10:01:44 +02:00
|
|
|
# Packager: alihan-ozturk28@hotmail.com milisarge
|
|
|
|
# Depends on:
|
2016-08-02 01:40:16 +02:00
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
name=perl-locale-gettext
|
2016-08-02 01:40:16 +02:00
|
|
|
version=1.07
|
2016-02-24 01:27:23 +01:00
|
|
|
release=1
|
|
|
|
|
2016-08-02 10:01:44 +02:00
|
|
|
source=(http://search.cpan.org/CPAN/authors/id/P/PV/PVANDRY/gettext-$version.tar.gz)
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
|
|
build() {
|
2016-08-02 10:01:44 +02:00
|
|
|
cd Locale-gettext-$version
|
2016-02-24 01:27:23 +01:00
|
|
|
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
|
|
|
|
}
|