Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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:= links
  5. PKG_VERSION:= 2.7
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 6b5ca02e180aed2f78ca2712f85e3ba5
  8. PKG_DESCR:= web browser with graphic support
  9. PKG_SECTION:= browser
  10. PKG_DEPENDS:= libpng libjpeg-turbo libtiff gpm libopenssl
  11. PKG_BUILDDEP:= openssl libpng libjpeg-turbo gpm
  12. PKG_URL:= http://links.twibright.com/
  13. PKG_SITES:= http://links.twibright.com/download/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. PKG_FLAVOURS_LINKS:= WITH_DIRECTFB
  16. PKGFD_WITH_DIRECTFB:= enable DirectFB video output support
  17. PKGFS_WITH_DIRECTFB:= directfb
  18. PKGFB_WITH_DIRECTFB:= DirectFB
  19. include ${TOPDIR}/mk/package.mk
  20. $(eval $(call PKG_template,LINKS,links,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  21. CONFIGURE_ARGS+= --enable-graphics \
  22. --with-fb \
  23. --with-ssl \
  24. --without-svgalib \
  25. --without-libtiff \
  26. --without-x \
  27. --without-pmshell \
  28. --without-atheos
  29. ifeq (${ADK_PACKAGE_LINKS_WITH_DIRECTFB},y)
  30. CONFIGURE_ARGS+= --with-directfb
  31. else
  32. CONFIGURE_ARGS+= --without-directfb
  33. endif
  34. links-install:
  35. ${INSTALL_DIR} ${IDIR_LINKS}/usr/bin
  36. ${CP} ${WRKINST}/usr/bin/* ${IDIR_LINKS}/usr/bin
  37. include ${TOPDIR}/mk/pkg-bottom.mk