talimat 630 B

123456789101112131415161718192021222324252627
  1. # Description: Curses, Perl ile sisteminizin curses (3) kütüphanesi arasındaki arabirimdir.
  2. # URL: http://search.cpan.org/~giraffed/Curses-1.34/Curses.pm
  3. # Packager : milisarge
  4. # Depends on:
  5. name=perl-curses
  6. version=1.34
  7. release=1
  8. source=(http://search.cpan.org/CPAN/authors/id/G/GI/GIRAFFED/Curses-$version.tar.gz)
  9. build() {
  10. cd Curses-$version
  11. perl Makefile.PL
  12. make CC="${CC:-gcc}" LD="${CC:-gcc}" OPTIMIZE="$CFLAGS"
  13. make DESTDIR=$PKG install
  14. find $PKG -type f \( \
  15. -name ".packlist" -o \
  16. -name "*.bs" -o \
  17. -name "autosplit.ix" -o \
  18. -name "perllocal.pod" \) -delete
  19. find $PKG -depth -empty -delete
  20. }