Makefile 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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 ${ADK_TOPDIR}/rules.mk
  4. PKG_NAME:= lynx
  5. PKG_VERSION:= 2.8.8
  6. PKG_RELEASE:= 2
  7. PKG_HASH:= 234c9dc77d4c4594ad6216d7df4d49eae3019a3880e602f39721b35b97fbc408
  8. PKG_DESCR:= text browser
  9. PKG_SECTION:= app/browser
  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/${PKG_NAME}${PKG_VERSION}/
  14. PKG_NOPARALLEL:= 1
  15. DISTFILES:= ${PKG_NAME}${PKG_VERSION}.tar.gz
  16. WRKDIST= ${WRKDIR}/lynx2-8-8
  17. include ${ADK_TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,LYNX,lynx,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. TARGET_CPPFLAGS+= -I${STAGING_TARGET_DIR}/include/openssl
  20. TARGET_CPPFLAGS+= -DUSE_OPENSSL_INCL -DUSE_X509_SUPPORT
  21. CONFIGURE_ENV+= ac_cv_path_TELNET=telnet \
  22. ac_cv_path_TN3270=tn3270 \
  23. ac_cv_path_RLOGIN=rlogin \
  24. ac_cv_path_MV=mv \
  25. ac_cv_path_GZIP=gzip \
  26. ac_cv_path_UNCOMPRESS=gunzip \
  27. ac_cv_path_UNZIP=unzip \
  28. ac_cv_path_BZIP2=bzip2 \
  29. ac_cv_path_TAR=tar \
  30. ac_cv_path_COMPRESS=compress \
  31. ac_cv_path_RM=rm \
  32. ac_cv_path_UUDECODE=uudecode \
  33. ac_cv_path_ZCAT=zcat \
  34. ac_cv_path_ZIP=zip \
  35. ac_cv_path_NCURSES_CONFIG=${STAGING_TARGET_DIR}/usr/bin/ncurses5-config
  36. CONFIGURE_ARGS+= --disable-warnings \
  37. --without-gnutls \
  38. --without-socks \
  39. --without-socks5 \
  40. --enable-addrlist-page \
  41. --enable-charset-choice \
  42. --enable-color-style \
  43. --disable-default-colors \
  44. --disable-htmlized-cfg \
  45. --enable-nested-tables \
  46. --disable-scrollbar \
  47. --enable-justify-elts \
  48. --enable-internal-links \
  49. --enable-nsl-fork \
  50. --enable-underlines \
  51. --without-bzlib \
  52. --without-x \
  53. --with-zlib=${STAGING_TARGET_DIR}/usr \
  54. --with-ssl=${STAGING_TARGET_DIR}/usr \
  55. --with-curses-dir=${STAGING_TARGET_DIR}/usr \
  56. --disable-full-paths \
  57. --with-cfg-file=/etc/lynx.cfg \
  58. --with-lss-file=/etc/lynx.lss \
  59. --disable-font-switch \
  60. --disable-japanese-utf8 \
  61. --disable-vertrace \
  62. --disable-trace \
  63. --disable-cjk \
  64. --disable-kbd-layout \
  65. --disable-prettysrc \
  66. --disable-finger \
  67. --disable-dired \
  68. --with-screen=ncurses \
  69. --disable-widec \
  70. --disable-locale-charset \
  71. --with-build-cc=$(HOST_CC) \
  72. --with-build-cflags="$(HOST_CFLAGS)" \
  73. --with-build-cppflags="-I/usr/include/ncurses"
  74. MAKE_FILE:= makefile
  75. lynx-install:
  76. ${INSTALL_DIR} ${IDIR_LYNX}/etc ${IDIR_LYNX}/usr/bin
  77. ${CP} ${WRKINST}/etc/lynx.{cfg,lss} ${IDIR_LYNX}/etc
  78. ${CP} ${WRKINST}/usr/bin/lynx ${IDIR_LYNX}/usr/bin
  79. include ${ADK_TOPDIR}/mk/pkg-bottom.mk