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

27 lines
614 B
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Curses, Perl ile sisteminizin curses (3) kütüphanesi arasındaki arabirimdir.
2017-04-07 10:52:29 +02:00
# URL: http://search.cpan.org/~giraffed/Curses-1.34/Curses.pm
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler:
2016-04-07 03:09:00 +02:00
2017-10-28 14:10:23 +02:00
isim=perl-curses
surum=1.34
devir=1
kaynak=(http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-$surum.tar.gz)
2016-04-07 03:09:00 +02:00
2017-10-27 23:59:41 +02:00
derle() {
2017-10-28 14:10:23 +02:00
cd Curses-$surum
2016-04-07 03:09:00 +02:00
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
}