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.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= c9937f9ed0061f264973182f871fb667
  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,${PKG_NAME},${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. post-install:
  34. ${INSTALL_DIR} ${IDIR_LINKS}/usr/bin
  35. ${CP} ${WRKINST}/usr/bin/* ${IDIR_LINKS}/usr/bin
  36. include ${TOPDIR}/mk/pkg-bottom.mk