milis/talimatname/genel/perl-curses-ui/talimat

28 lines
615 B
Plaintext

# Description: Perl module Archive::Curses:ui
# URL: http://search.cpan.org/~giraffed/Curses-1.34/
# Maintainer: milisarge
# Packager : milisarge
# Depends on:
name=perl-curses-ui
version=0.9609
release=1
source=(http://search.cpan.org/CPAN/authors/id/M/MD/MDXI/Curses-UI-$version.tar.gz)
build() {
cd Curses-UI-$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
}