27 lines
622 B
Plaintext
27 lines
622 B
Plaintext
# Tanım: Curses, Perl ile sisteminizin curses (3) kütüphanesi arasındaki arabirimdir.
|
||
# URL: http://search.cpan.org/~giraffed/Curses-1.34/Curses.pm
|
||
# Paketçi: milisarge
|
||
# Gerekler:
|
||
|
||
name=perl-curses
|
||
version=1.34
|
||
release=1
|
||
source=(http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-$version.tar.gz)
|
||
|
||
derle() {
|
||
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
|
||
|
||
}
|