milis/talimatname/genel/perl-curses/talimat

27 lines
630 B
Plaintext
Raw Normal View History

2017-04-07 10:52:29 +02:00
# Description: Curses, Perl ile sisteminizin curses (3) kütüphanesi arasındaki arabirimdir.
# URL: http://search.cpan.org/~giraffed/Curses-1.34/Curses.pm
# Packager : milisarge
2016-04-07 03:09:00 +02:00
# 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
}