You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

68 lines
1.8 KiB

  1. #
  2. # This is free software, licensed under the GNU General Public License v2.
  3. # See /LICENSE for more information.
  4. #
  5. include $(TOPDIR)/rules.mk
  6. PKG_NAME:=pkgconf
  7. PKG_VERSION:=1.6.3
  8. PKG_RELEASE:=1
  9. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  10. PKG_SOURCE_URL:=https://distfiles.dereferenced.org/pkgconf
  11. PKG_HASH:=61f0b31b0d5ea0e862b454a80c170f57bad47879c0c42bd8de89200ff62ea210
  12. PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
  13. PKG_LICENSE:=MIT
  14. PKG_LICENSE_FILES:=COPYING
  15. PKG_INSTALL:=1
  16. PKG_BUILD_PARALLEL:=1
  17. include $(INCLUDE_DIR)/package.mk
  18. define Package/libpkgconf
  19. SECTION:=libs
  20. CATEGORY:=Libraries
  21. TITLE:=libpkgconf
  22. URL:=http://pkgconf.org/
  23. endef
  24. define Package/pkgconf
  25. SECTION:=devel
  26. CATEGORY:=Development
  27. TITLE:=pkgconf
  28. URL:=http://pkgconf.org/
  29. DEPENDS:=+libpkgconf
  30. endef
  31. define Package/libpkgconf/description
  32. libpkgconf is a library which provides access to most of pkgconf’s
  33. functionality, to allow other tooling such as compilers and IDEs to
  34. discover and use frameworks configured by pkgconf. It features a stable
  35. library ABI and API designed for building bindings and other tools.
  36. endef
  37. define Package/pkgconf/description
  38. pkgconf is a program which helps to configure compiler and linker flags
  39. for development frameworks. It is similar to pkg-config from
  40. freedesktop.org, providing additional functionality while also
  41. maintaining compatibility.
  42. endef
  43. define Package/libpkgconf/install
  44. $(INSTALL_DIR) $(1)/usr/lib
  45. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpkgconf.so* $(1)/usr/lib/
  46. $(INSTALL_DIR) $(1)/usr/share/aclocal/
  47. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/pkg.m4 \
  48. $(1)/usr/share/aclocal/
  49. endef
  50. define Package/pkgconf/install
  51. $(INSTALL_DIR) $(1)/usr/bin
  52. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pkgconf $(1)/usr/bin/
  53. endef
  54. $(eval $(call BuildPackage,libpkgconf))
  55. $(eval $(call BuildPackage,pkgconf))