1
0

Makefile 974 B

123456789101112131415161718192021222324252627282930
  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:= 3
  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_ARCH_DEPENDS:= x86 x86_64 mips mipsel mips64 mips64el
  15. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.x-r7513.tar.bz2
  16. WRKDIST= ${WRKDIR}/${PKG_NAME}-2.0.x-r7513
  17. include $(TOPDIR)/mk/package.mk
  18. $(eval $(call PKG_template,LIBFLTK,libfltk,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. post-install:
  20. $(INSTALL_DIR) $(IDIR_LIBFLTK)/usr/lib
  21. $(CP) ${WRKINST}/usr/lib/libfltk*.so* $(IDIR_LIBFLTK)/usr/lib
  22. include ${TOPDIR}/mk/pkg-bottom.mk