Makefile 983 B

12345678910111213141516171819202122232425262728293031
  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:= fltk
  5. PKG_VERSION:= 2.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 557544badbacca4ee1ebb2448f6e1f8a
  8. PKG_DESCR:= fast light toolkit
  9. PKG_SECTION:= libs
  10. PKG_BUILDDEP:= libX11 libXi MesaLib freeglut
  11. PKG_URL:= http://www.fltk.org/
  12. PKG_SITES:= http://ftp.funet.fi/pub/mirrors/ftp.easysw.com/pub/fltk/snapshots/
  13. PKG_SUBPKGS:= LIBFLTK
  14. PKG_TARGET_DEPENDS:= x86 lemote
  15. PKG_HOST_DEPENDS:= !cygwin !darwin
  16. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.x-r7513.tar.bz2
  17. WRKDIST= ${WRKDIR}/${PKG_NAME}-2.0.x-r7513
  18. include $(TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,LIBFLTK,libfltk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  20. post-install:
  21. $(INSTALL_DIR) $(IDIR_LIBFLTK)/usr/lib
  22. $(CP) ${WRKINST}/usr/lib/libfltk*.so* $(IDIR_LIBFLTK)/usr/lib
  23. include ${TOPDIR}/mk/pkg-bottom.mk