libgpg-error: fix riscv64
[openadk.git] / package / libinih / Makefile
blobd546f244a68cc8bca37ace91a3fc48aafcc14c26
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= libinih
7 PKG_VERSION:= r58
8 PKG_RELEASE:= 1
9 PKG_HASH:= e79216260d5dffe809bda840be48ab0eec7737b2bb9f02d2275c1b46344ea7b7
10 PKG_DESCR:= ini parser library
11 PKG_SECTION:= libs/misc
12 PKG_BUILDDEP:= meson-host
13 PKG_URL:= https://github.com/benhoyt/inih
14 PKG_SITES:= https://github.com/benhoyt/inih/archive/refs/tags/
15 PKG_OPTS:= dev
17 DISTFILES:= $(PKG_VERSION).tar.gz
19 WRKDIST= ${WRKDIR}/inih-${PKG_VERSION}
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call PKG_template,LIBINIH,libinih,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
25 WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
27 CONFIG_STYLE:= meson
28 BUILD_STYLE:= meson
29 INSTALL_STYLE:= meson
31 libinih-install:
32 $(INSTALL_DIR) $(IDIR_LIBINIH)/usr/lib
33 $(CP) $(WRKINST)/usr/lib/libinih*.so* \
34 $(IDIR_LIBINIH)/usr/lib
36 include $(ADK_TOPDIR)/mk/pkg-bottom.mk