Makefile 1.5 KB

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