Makefile 1.5 KB

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