Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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:= 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
  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 $(TOPDIR)/mk/host.mk
  18. include $(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. HOST_STYLE:= auto
  22. libgc-install:
  23. $(INSTALL_DIR) $(IDIR_LIBGC)/usr/lib
  24. $(CP) $(WRKINST)/usr/lib/libgc*.so* \
  25. $(IDIR_LIBGC)/usr/lib
  26. include ${TOPDIR}/mk/host-bottom.mk
  27. include ${TOPDIR}/mk/pkg-bottom.mk