Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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 $(ADK_TOPDIR)/rules.mk
  4. PKG_NAME:= fltk
  5. PKG_VERSION:= 1.3.2
  6. PKG_RELEASE:= 4
  7. PKG_HASH:= 176044df94f31bd53a5806cf5054ca78b180bf9ae27ce47649608833695ee4a4
  8. PKG_DESCR:= fast light toolkit
  9. PKG_SECTION:= libs/misc
  10. PKG_DEPENDS:= mesalib libx11 libxi freeglut libfreetype
  11. PKG_BUILDDEP:= libX11 libXi mesalib freeglut freetype
  12. PKG_URL:= http://www.fltk.org/
  13. PKG_SITES:= http://openadk.org/distfiles/
  14. PKG_LIBNAME:= libfltk
  15. PKG_OPTS:= dev
  16. PKG_ARCH_DEPENDS:= x86 x86_64 mips arm
  17. DISTFILES:= ${PKG_NAME}-$(PKG_VERSION)-source.tar.gz
  18. include $(ADK_TOPDIR)/mk/package.mk
  19. $(eval $(call PKG_template,LIBFLTK,libfltk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  20. CONFIGURE_ARGS+= --disable-xinerama
  21. libfltk-install:
  22. $(INSTALL_DIR) $(IDIR_LIBFLTK)/usr/lib
  23. $(CP) ${WRKINST}/usr/lib/libfltk*.so* $(IDIR_LIBFLTK)/usr/lib
  24. include ${ADK_TOPDIR}/mk/pkg-bottom.mk