Makefile 1.1 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:= pkgconf
  5. PKG_VERSION:= 0.9.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 52c553bad686f8be1556b58bc1925f4f
  8. PKG_DESCR:= smart pkg-config replacement
  9. PKG_SECTION:= lang
  10. PKG_URL:= https://github.com/pkgconf/pkgconf
  11. PKG_SITES:= http://rabbit.dereferenced.org/~nenolod/distfiles/
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2
  13. include $(TOPDIR)/mk/host.mk
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call HOST_template,PKGCONF,pkgconf,$(PKG_VERSION)-${PKG_RELEASE}))
  16. $(eval $(call PKG_template,PKGCONF,pkgconf,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. HOST_STYLE:= auto
  18. hostpost-install:
  19. (cd $(STAGING_HOST_DIR)/usr/bin && ln -sf pkgconf pkg-config)
  20. pkgconf-install:
  21. $(INSTALL_DIR) $(IDIR_PKGCONF)/usr/bin
  22. $(INSTALL_BIN) $(WRKINST)/usr/bin/pkgconf \
  23. $(IDIR_PKGCONF)/usr/bin
  24. (cd $(IDIR_PKGCONF)/usr/bin && ln -sf pkgconf pkg-config)
  25. include ${TOPDIR}/mk/host-bottom.mk
  26. include ${TOPDIR}/mk/pkg-bottom.mk