Makefile 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include ${TOPDIR}/rules.mk
  4. PKG_NAME= lynx
  5. PKG_VERSION= 2.8.7dev.7
  6. PKG_RELEASE= 2
  7. PKG_MD5SUM= 83891107c873421e5ac917cc0ab53fe8
  8. PKG_DESCR:= Standard text browser
  9. PKG_SECTION:= text
  10. PKG_DEPENDS:= libncurses libopenssl zlib
  11. PKG_BUILDDEP+= ncurses openssl zlib
  12. PKG_URL:= http://lynx.isc.org
  13. PKG_SITES= http://lynx.isc.org/current/ \
  14. ${MASTER_SITE_MIRBSD}
  15. DISTFILES= ${PKG_NAME}${PKG_VERSION}.tar.gz
  16. WRKDIST= ${WRKDIR}/lynx2-8-7
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LYNX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TCPPFLAGS+= -DLYNX_VERSION=\"${PKG_VERSION}-${PKG_RELEASE}\"
  20. TCPPFLAGS+= -I${STAGING_DIR}/include/openssl
  21. TCPPFLAGS+= -DUSE_OPENSSL_INCL -DUSE_X509_SUPPORT
  22. TLDFLAGS+= -lz
  23. CONFIGURE_ENV+= ac_cv_path_TELNET=telnet \
  24. ac_cv_path_TN3270=tn3270 \
  25. ac_cv_path_RLOGIN=rlogin \
  26. ac_cv_path_MV=mv \
  27. ac_cv_path_GZIP=gzip \
  28. ac_cv_path_UNCOMPRESS=gunzip \
  29. ac_cv_path_UNZIP=unzip \
  30. ac_cv_path_BZIP2=bzip2 \
  31. ac_cv_path_TAR=tar \
  32. ac_cv_path_COMPRESS=compress \
  33. ac_cv_path_RM=rm \
  34. ac_cv_path_UUDECODE=uudecode \
  35. ac_cv_path_ZCAT=zcat \
  36. ac_cv_path_ZIP=zip
  37. CONFIGURE_ARGS+= \
  38. --disable-warnings \
  39. --disable-nls \
  40. --without-gnutls \
  41. --without-socks \
  42. --without-socks5 \
  43. --enable-addrlist-page \
  44. --enable-charset-choice \
  45. --enable-color-style \
  46. --disable-default-colors \
  47. --disable-htmlized-cfg \
  48. --enable-nested-tables \
  49. --disable-scrollbar \
  50. --enable-justify-elts \
  51. --enable-internal-links \
  52. --enable-nsl-fork \
  53. --enable-underlines \
  54. --without-bzlib \
  55. --without-x \
  56. --with-zlib=${STAGING_DIR}/usr \
  57. --with-ssl=${STAGING_DIR}/usr \
  58. --disable-full-paths \
  59. --with-cfg-file=/etc/lynx.cfg \
  60. --with-lss-file=/etc/lynx.lss \
  61. --disable-font-switch \
  62. --disable-japanese-utf8 \
  63. --disable-vertrace \
  64. --disable-trace \
  65. --disable-cjk \
  66. --disable-kbd-layout \
  67. --disable-prettysrc \
  68. --disable-finger \
  69. --disable-dired \
  70. --with-screen=ncurses \
  71. --disable-widec \
  72. --disable-locale-charset
  73. MAKE_FILE:= makefile
  74. post-install:
  75. ${INSTALL_DIR} ${IDIR_LYNX}/etc ${IDIR_LYNX}/usr/bin
  76. ${CP} ${WRKINST}/etc/lynx.{cfg,lss} ${IDIR_LYNX}/etc
  77. ${CP} ${WRKINST}/usr/bin/lynx ${IDIR_LYNX}/usr/bin
  78. include ${TOPDIR}/mk/pkg-bottom.mk