talimat 890 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Tanım: The Man-DB package contains programs for finding and viewing man pages.
  2. # URL: http://savannah.nongnu.org/projects/man-db
  3. # Paketçi: milisarge
  4. # Gerekler:
  5. isim=man-db
  6. surum=2.7.2
  7. devir=1
  8. kaynak=(http://savannah.nongnu.org/download/man-db/man-db-$surum.tar.xz)
  9. derle()
  10. {
  11. cd man-db-$surum
  12. PKG_CONFIG_PATH="/usr/lib/pkgconfig" ./configure --prefix=/usr \
  13. --libexecdir=/usr/lib \
  14. --docdir=/usr/share/doc/man-$surum \
  15. --sysconfdir=/etc --disable-setuid \
  16. --with-browser=/usr/bin/lynx --with-vgrind=/usr/bin/vgrind \
  17. --with-grap=/usr/bin/grap
  18. make
  19. # Certains test fails
  20. make -k check || true
  21. make DESTDIR=$PKG install
  22. cat >> convert-mans << "EOF"
  23. #!/bin/sh -e
  24. FROM="$1"
  25. TO="$2"
  26. shift ; shift
  27. while [ $# -gt 0 ]
  28. do
  29. FILE="$1"
  30. shift
  31. iconv -f "$FROM" -t "$TO" "$FILE" >.tmp.iconv
  32. mv .tmp.iconv "$FILE"
  33. done
  34. EOF
  35. install -m755 convert-mans $PKG/usr/bin
  36. }