2019-11-02 00:47:38 +01:00
|
|
|
|
#
|
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
|
|
PKG_NAME:=pkgconf
|
2021-09-23 11:19:20 +02:00
|
|
|
|
PKG_VERSION:=1.8.0
|
treewide: remove AUTORELEASE
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.
The following temporary change was made to the core:
diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))
COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))
all:
FORCE: ;
And this command used to fix affected packages:
for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
make package/$i/download
done
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
2023-04-21 18:32:27 +02:00
|
|
|
|
PKG_RELEASE:=2
|
2019-11-02 00:47:38 +01:00
|
|
|
|
|
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
|
|
|
|
|
PKG_SOURCE_URL:=https://distfiles.dereferenced.org/pkgconf
|
2021-09-23 11:19:20 +02:00
|
|
|
|
PKG_HASH:=ef9c7e61822b7cb8356e6e9e1dca58d9556f3200d78acab35e4347e9d4c2bbaf
|
2019-11-02 00:47:38 +01:00
|
|
|
|
|
|
|
|
|
PKG_MAINTAINER:=Rosen Penev <rosenp@gmail.com>
|
|
|
|
|
PKG_LICENSE:=MIT
|
|
|
|
|
PKG_LICENSE_FILES:=COPYING
|
|
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-09-08 00:24:45 +02:00
|
|
|
|
include $(INCLUDE_DIR)/meson.mk
|
2019-11-02 00:47:38 +01:00
|
|
|
|
|
|
|
|
|
define Package/libpkgconf
|
|
|
|
|
SECTION:=libs
|
|
|
|
|
CATEGORY:=Libraries
|
|
|
|
|
TITLE:=libpkgconf
|
|
|
|
|
URL:=http://pkgconf.org/
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define Package/pkgconf
|
|
|
|
|
SECTION:=devel
|
|
|
|
|
CATEGORY:=Development
|
|
|
|
|
TITLE:=pkgconf
|
|
|
|
|
URL:=http://pkgconf.org/
|
|
|
|
|
DEPENDS:=+libpkgconf
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define Package/libpkgconf/description
|
|
|
|
|
libpkgconf is a library which provides access to most of pkgconf’s
|
|
|
|
|
functionality, to allow other tooling such as compilers and IDEs to
|
|
|
|
|
discover and use frameworks configured by pkgconf. It features a stable
|
|
|
|
|
library ABI and API designed for building bindings and other tools.
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define Package/pkgconf/description
|
|
|
|
|
pkgconf is a program which helps to configure compiler and linker flags
|
|
|
|
|
for development frameworks. It is similar to pkg-config from
|
|
|
|
|
freedesktop.org, providing additional functionality while also
|
|
|
|
|
maintaining compatibility.
|
|
|
|
|
endef
|
|
|
|
|
|
2020-06-01 03:29:19 +02:00
|
|
|
|
MESON_ARGS += \
|
|
|
|
|
-Dtests=false
|
|
|
|
|
|
|
|
|
|
define Build/InstallDev
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/include/libpkgconf
|
2021-03-22 05:38:31 +01:00
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/pkgconf/libpkgconf/*.h $(1)/usr/include/libpkgconf
|
2020-06-01 03:29:19 +02:00
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpkgconf.so* $(1)/usr/lib/
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/aclocal/
|
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/pkg.m4 \
|
|
|
|
|
$(1)/usr/share/aclocal/
|
|
|
|
|
endef
|
|
|
|
|
|
2019-11-02 00:47:38 +01:00
|
|
|
|
define Package/libpkgconf/install
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
|
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpkgconf.so* $(1)/usr/lib/
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/share/aclocal/
|
|
|
|
|
$(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/pkg.m4 \
|
|
|
|
|
$(1)/usr/share/aclocal/
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
define Package/pkgconf/install
|
|
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
|
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pkgconf $(1)/usr/bin/
|
|
|
|
|
endef
|
|
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,libpkgconf))
|
|
|
|
|
$(eval $(call BuildPackage,pkgconf))
|