Makefile 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= e36d70f3f09b2d502055ca67f09e363c
  8. PKG_DESCR:= Standard text browser
  9. PKG_SECTION:= 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-7
  17. include ${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+= \
  37. --disable-warnings \
  38. --without-gnutls \
  39. --without-socks \
  40. --without-socks5 \
  41. --enable-addrlist-page \
  42. --enable-charset-choice \
  43. --enable-color-style \
  44. --disable-default-colors \
  45. --disable-htmlized-cfg \
  46. --enable-nested-tables \
  47. --disable-scrollbar \
  48. --enable-justify-elts \
  49. --enable-internal-links \
  50. --enable-nsl-fork \
  51. --enable-underlines \
  52. --without-bzlib \
  53. --without-x \
  54. --with-zlib=${STAGING_TARGET_DIR}/usr \
  55. --with-ssl=${STAGING_TARGET_DIR}/usr \
  56. --with-curses-dir=${STAGING_TARGET_DIR}/usr \
  57. --disable-full-paths \
  58. --with-cfg-file=/etc/lynx.cfg \
  59. --with-lss-file=/etc/lynx.lss \
  60. --disable-font-switch \
  61. --disable-japanese-utf8 \
  62. --disable-vertrace \
  63. --disable-trace \
  64. --disable-cjk \
  65. --disable-kbd-layout \
  66. --disable-prettysrc \
  67. --disable-finger \
  68. --disable-dired \
  69. --with-screen=ncurses \
  70. --disable-widec \
  71. --disable-locale-charset \
  72. --with-build-cc=$(CC_FOR_BUILD) \
  73. --with-build-cflags="$(CFLAGS_FOR_BUILD)" \
  74. --with-build-cppflags="-I/usr/include/ncurses"
  75. MAKE_FILE:= makefile
  76. lynx-install:
  77. ${INSTALL_DIR} ${IDIR_LYNX}/etc ${IDIR_LYNX}/usr/bin
  78. ${CP} ${WRKINST}/etc/lynx.{cfg,lss} ${IDIR_LYNX}/etc
  79. ${CP} ${WRKINST}/usr/bin/lynx ${IDIR_LYNX}/usr/bin
  80. include ${TOPDIR}/mk/pkg-bottom.mk