Makefile 1.2 KB

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