1
0

Makefile 2.5 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.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. DISTFILES= ${PKG_NAME}${PKG_VERSION}.tar.gz
  15. WRKDIST= ${WRKDIR}/lynx2-8-7
  16. include ${TOPDIR}/mk/package.mk
  17. $(eval $(call PKG_template,LYNX,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  18. TCPPFLAGS+= -I${STAGING_TARGET_DIR}/include/openssl
  19. TCPPFLAGS+= -DUSE_OPENSSL_INCL -DUSE_X509_SUPPORT
  20. TLDFLAGS+= -lz
  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}/scripts/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-cppflags="-I/usr/include/ncurses"
  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