Makefile 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= elinks
  7. PKG_VERSION:= 0.11.3
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 11547e054d7afb1f5ac9e9f65728cc6a
  10. MASTER_SITES:= http://elinks.or.cz/download/
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,ELINKS,elinks,${PKG_VERSION}-${PKG_RELEASE}))
  13. CONFIGURE_STYLE:= gnu
  14. CONFIGURE_ENV+= $(shell echo ac_cv_file_./features.conf | tr [:blank:]-/. _)=yes
  15. CONFIGURE_ENV+= $(shell echo ac_cv_file_${WRKBUILD}/features.conf | tr [:blank:]-/. _)=yes
  16. CONFIGURE_ARGS+= --enable-small \
  17. --enable-256-colors \
  18. --with-openssl='${STAGING_DIR}/usr' \
  19. --disable-backtrace \
  20. --disable-data \
  21. --disable-formhist \
  22. --disable-leds \
  23. --disable-mailcap \
  24. --disable-mouse \
  25. --disable-smb \
  26. --disable-uri-rewrite \
  27. --disable-xbel \
  28. --without-bzlib \
  29. --without-gpm \
  30. --without-idn \
  31. --without-gnutls \
  32. --without-libiconv \
  33. --without-lua \
  34. --without-spidermonkey \
  35. --without-x \
  36. --without-zlib
  37. BUILD_STYLE:= auto
  38. MAKE_FLAGS+= CC='${TARGET_CC}' LD='${TARGET_CROSS}ld'
  39. do-install:
  40. ${INSTALL_DIR} ${IDIR_ELINKS}/usr/bin
  41. ${INSTALL_BIN} ${WRKBUILD}/src/elinks ${IDIR_ELINKS}/usr/bin/
  42. include ${TOPDIR}/mk/pkg-bottom.mk