Makefile 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  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_BUILDDEP+= ncurses openssl zlib
  8. PKG_MD5SUM= 83891107c873421e5ac917cc0ab53fe8
  9. PKG_DESCR:= Standard text browser
  10. PKG_SECTION:= text
  11. PKG_DEPENDS:= libncurses libopenssl 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_STYLE:= gnu
  24. CONFIGURE_ENV+= ac_cv_path_TELNET=telnet \
  25. ac_cv_path_TN3270=tn3270 \
  26. ac_cv_path_RLOGIN=rlogin \
  27. ac_cv_path_MV=mv \
  28. ac_cv_path_GZIP=gzip \
  29. ac_cv_path_UNCOMPRESS=gunzip \
  30. ac_cv_path_UNZIP=unzip \
  31. ac_cv_path_BZIP2=bzip2 \
  32. ac_cv_path_TAR=tar \
  33. ac_cv_path_COMPRESS=compress \
  34. ac_cv_path_RM=rm \
  35. ac_cv_path_UUDECODE=uudecode \
  36. ac_cv_path_ZCAT=zcat \
  37. ac_cv_path_ZIP=zip
  38. CONFIGURE_ARGS+= \
  39. --disable-warnings \
  40. --disable-nls \
  41. --without-gnutls \
  42. --without-socks \
  43. --without-socks5 \
  44. --enable-addrlist-page \
  45. --enable-charset-choice \
  46. --enable-color-style \
  47. --disable-default-colors \
  48. --disable-htmlized-cfg \
  49. --enable-nested-tables \
  50. --disable-scrollbar \
  51. --enable-justify-elts \
  52. --enable-internal-links \
  53. --enable-nsl-fork \
  54. --enable-underlines \
  55. --without-bzlib \
  56. --without-x \
  57. --with-zlib=${STAGING_DIR}/usr \
  58. --with-ssl=${STAGING_DIR}/usr \
  59. --disable-full-paths \
  60. --with-cfg-file=/etc/lynx.cfg \
  61. --with-lss-file=/etc/lynx.lss \
  62. --disable-font-switch \
  63. --disable-japanese-utf8 \
  64. --disable-vertrace \
  65. --disable-trace \
  66. --disable-cjk \
  67. --disable-kbd-layout \
  68. --disable-prettysrc \
  69. --disable-finger \
  70. --disable-dired \
  71. --with-screen=ncurses \
  72. --disable-widec \
  73. --disable-locale-charset
  74. # --prefix=${STAGING_DIR}/usr
  75. MAKE_FILE:= makefile
  76. BUILD_STYLE:= auto
  77. INSTALL_STYLE:= auto
  78. post-install:
  79. ${INSTALL_DIR} ${IDIR_LYNX}/etc ${IDIR_LYNX}/usr/bin
  80. ${CP} ${WRKINST}/etc/lynx.{cfg,lss} ${IDIR_LYNX}/etc
  81. ${CP} ${WRKINST}/usr/bin/lynx ${IDIR_LYNX}/usr/bin
  82. include ${TOPDIR}/mk/pkg-bottom.mk