# This file is part of the OpenADK project. OpenADK is copyrighted # material, please see the LICENCE file in the top-level directory. include $(ADK_TOPDIR)/rules.mk PKG_NAME:= libinih PKG_VERSION:= r53 PKG_RELEASE:= 1 PKG_HASH:= 01b0366fdfdf6363efc070c2f856f1afa33e7a6546548bada5456ad94a516241 PKG_DESCR:= ini parser library PKG_SECTION:= libs/misc PKG_BUILDDEP:= meson-host PKG_URL:= https://github.com/benhoyt/inih PKG_SITES:= https://github.com/benhoyt/inih/archive/refs/tags/ PKG_OPTS:= dev DISTFILES:= $(PKG_VERSION).tar.gz WRKDIST= ${WRKDIR}/inih-${PKG_VERSION} include $(ADK_TOPDIR)/mk/package.mk $(eval $(call PKG_template,LIBINIH,libinih,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS))) WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj CONFIG_STYLE:= meson BUILD_STYLE:= meson INSTALL_STYLE:= meson libinih-install: $(INSTALL_DIR) $(IDIR_LIBINIH)/usr/lib $(CP) $(WRKINST)/usr/lib/libinih*.so* \ $(IDIR_LIBINIH)/usr/lib include $(ADK_TOPDIR)/mk/pkg-bottom.mk