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