binutils: update to 2.43.1
[openadk.git] / package / open-iscsi / Makefile
blobf33b52f1ff5ca5ab8b672864e30f01fab9fa1a59
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:= open-iscsi
7 PKG_VERSION:= 2.1.9
8 PKG_RELEASE:= 1
9 PKG_HASH:= 60e2a1e3058a8af7f702e86a5a0511b05b8754d29d3d2df4e0e301399b5cf70a
10 PKG_DESCR:= iscsi utilities
11 PKG_DEPENDS:= libkmod libressl
12 PKG_BUILDDEP:= cmake-host kmod libressl
13 PKG_SECTION:= sys/fs
14 PKG_SITES:= https://github.com/open-iscsi/open-iscsi/archive/refs/tags/
16 DISTFILES:= $(PKG_VERSION).tar.gz
17 #WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,OPEN_ISCSI,open-iscsi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 WRKBUILD= $(WRKDIR)/$(PKG_NAME)-obj
25 CONFIG_STYLE:= meson
26 BUILD_STYLE:= meson
27 INSTALL_STYLE:= meson
29 MESON_FLAGS+= -Dno_systemd=true \
30 -Disns=disabled
32 open-iscsi-install:
33 $(INSTALL_DIR) $(IDIR_OPEN_ISCSI)/usr/sbin $(IDIR_OPEN_ISCSI)/etc/iscsi
34 $(INSTALL_BIN) $(WRKINST)/usr/sbin/* $(IDIR_OPEN_ISCSI)/usr/sbin
35 $(CP) $(WRKINST)/etc/iscsi/* $(IDIR_OPEN_ISCSI)/etc/iscsi
37 include ${ADK_TOPDIR}/mk/pkg-bottom.mk