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_BUILDDEP+= openssl
  8. PKG_MD5SUM:= 145c510cae41c204d0f23dce4bdd23ab
  9. PKG_DESCR:= advanced text web browser
  10. PKG_SECTION:= text
  11. PKG_DEPENDS:= libopenssl
  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. TCFLAGS+= -fPIC
  17. CONFIGURE_STYLE:= gnu
  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. BUILD_STYLE:= auto
  42. MAKE_FLAGS+= V=1 CC='${TARGET_CC}' LD='${TARGET_CC}'
  43. do-install:
  44. ${INSTALL_DIR} ${IDIR_ELINKS}/usr/bin
  45. ${INSTALL_BIN} ${WRKBUILD}/src/elinks ${IDIR_ELINKS}/usr/bin/
  46. include ${TOPDIR}/mk/pkg-bottom.mk