kodi: allow to enable avahi support
[openadk.git] / package / open-iscsi / Makefile
blob5afb377bc048fc9c3c2e0ea0cc8e812d6ab55fec
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.0
8 PKG_EXTRAVER:= 871
9 PKG_RELEASE:= 1
10 PKG_HASH:= bcea8746ae82f2ada7bc05d2aa59bcda1ca0d5197f05f2e16744aae59f0a7dcb
11 PKG_DESCR:= iscsi utilities
12 PKG_SECTION:= sys/fs
13 PKG_URL:= http://www.open-iscsi.org/
14 PKG_SITES:= http://www.open-iscsi.org/bits/
16 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-$(PKG_EXTRAVER).tar.gz
17 WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}
19 include $(ADK_TOPDIR)/mk/package.mk
21 ALL_TARGET:= user
22 INSTALL_TARGET:= install_user
24 $(eval $(call PKG_template,OPEN_ISCSI,open-iscsi,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
26 CONFIG_STYLE:= manual
28 open-iscsi-install:
29 $(INSTALL_DIR) $(IDIR_OPEN_ISCSI)/sbin $(IDIR_OPEN_ISCSI)/etc/iscsi
30 $(INSTALL_BIN) $(WRKINST)/sbin/* $(IDIR_OPEN_ISCSI)/sbin
31 $(CP) $(WRKINST)/etc/iscsi/* $(IDIR_OPEN_ISCSI)/etc/iscsi
33 include ${ADK_TOPDIR}/mk/pkg-bottom.mk