Makefile 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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:= elinks
  5. PKG_VERSION:= 0.11.7
  6. PKG_RELEASE:= 3
  7. PKG_MD5SUM:= 145c510cae41c204d0f23dce4bdd23ab
  8. PKG_DESCR:= advanced text web browser
  9. PKG_SECTION:= browser
  10. PKG_DEPENDS:= libopenssl
  11. PKG_BUILDDEP:= openssl
  12. PKG_URL:= http://elinks.or.cz/
  13. PKG_SITES:= http://elinks.or.cz/download/
  14. PKG_NOPARALLEL:= 1
  15. PKG_FLAVOURS:= WITH_IPV6
  16. PKGFD_WITH_IPV6:= enable IPv6 support
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,ELINKS,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. INSTALL_STYLE:= manual
  20. TCFLAGS+= -fPIC
  21. CONFIGURE_ENV+= $(shell echo ac_cv_file_./features.conf | tr [:blank:]-/. _)=yes
  22. CONFIGURE_ENV+= $(shell echo ac_cv_file_${WRKBUILD}/features.conf | tr [:blank:]-/. _)=yes
  23. CONFIGURE_ARGS+= --enable-small \
  24. --enable-256-colors \
  25. --with-openssl='${STAGING_DIR}/usr' \
  26. --disable-backtrace \
  27. --disable-data \
  28. --disable-formhist \
  29. --disable-leds \
  30. --disable-mailcap \
  31. --disable-mouse \
  32. --disable-smb \
  33. --disable-uri-rewrite \
  34. --disable-xbel \
  35. --without-bzlib \
  36. --without-gpm \
  37. --without-idn \
  38. --without-gnutls \
  39. --without-libiconv \
  40. --without-lua \
  41. --without-spidermonkey \
  42. --without-x \
  43. --without-zlib
  44. MAKE_FLAGS+= CC='${TARGET_CC}'
  45. ifneq (${ADK_PACKAGE_ELINKS_WITH_IPV6},)
  46. CONFIGURE_ARGS+= --enable-ipv6
  47. else
  48. CONFIGURE_ARGS+= --disable-ipv6
  49. endif
  50. do-install:
  51. ${INSTALL_DIR} ${IDIR_ELINKS}/usr/bin
  52. ${INSTALL_BIN} ${WRKBUILD}/src/elinks ${IDIR_ELINKS}/usr/bin/
  53. include ${TOPDIR}/mk/pkg-bottom.mk