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:= libgc
  5. PKG_VERSION:= 7.4.0
  6. PKG_RELEASE:= 2
  7. PKG_MD5SUM:= f40d9a47c90d60791eeecb484f8df5ee
  8. PKG_DESCR:= garbage collector library
  9. PKG_SECTION:= libs/misc
  10. PKG_BUILDDEP:= libatomic_ops
  11. HOST_BUILDDEP:= libatomic_ops-host
  12. PKG_URL:= http://www.hboehm.info/gc/
  13. PKG_SITES:= http://www.hboehm.info/gc/gc_source/
  14. PKG_OPTS:= dev
  15. DISTFILES= gc-${PKG_VERSION}.tar.gz
  16. WRKDIST= ${WRKDIR}/gc-${PKG_VERSION}
  17. include $(ADK_TOPDIR)/mk/host.mk
  18. include $(ADK_TOPDIR)/mk/package.mk
  19. $(eval $(call HOST_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE}))
  20. $(eval $(call PKG_template,LIBGC,libgc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
  21. libgc-install:
  22. $(INSTALL_DIR) $(IDIR_LIBGC)/usr/lib
  23. $(CP) $(WRKINST)/usr/lib/libgc*.so* \
  24. $(IDIR_LIBGC)/usr/lib
  25. include ${ADK_TOPDIR}/mk/host-bottom.mk
  26. include ${ADK_TOPDIR}/mk/pkg-bottom.mk