Makefile 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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:= 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-ssl \
  22. --without-svgalib \
  23. --without-libtiff \
  24. --without-x \
  25. --without-pmshell \
  26. --without-atheos
  27. ifeq (${ADK_PACKAGE_LINKS_WITH_DIRECTFB},y)
  28. CONFIGURE_ARGS+= --with-directfb
  29. else
  30. CONFIGURE_ARGS+= --without-directfb
  31. endif
  32. post-install:
  33. ${INSTALL_DIR} ${IDIR_LINKS}/usr/bin
  34. ${CP} ${WRKINST}/usr/bin/* ${IDIR_LINKS}/usr/bin
  35. include ${TOPDIR}/mk/pkg-bottom.mk