blob: 81b70f3089c34d83ae6c11822f050a77a075d96b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# 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
|