milis/talimatname/genel/perl-curses/talimat

28 lines
605 B
Plaintext

# Description: Perl module Archive::Curses
# URL: http://search.cpan.org/~giraffed/Curses-1.34/
# Maintainer: milisarge
# Packager : milisarge
# Depends on:
name=perl-curses
version=1.34
release=1
source=(http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-$version.tar.gz)
build() {
cd Curses-$version
perl Makefile.PL
make CC="${CC:-gcc}" LD="${CC:-gcc}" OPTIMIZE="$CFLAGS"
make DESTDIR=$PKG install
find $PKG -type f \( \
-name ".packlist" -o \
-name "*.bs" -o \
-name "autosplit.ix" -o \
-name "perllocal.pod" \) -delete
find $PKG -depth -empty -delete
}