summaryrefslogtreecommitdiff
path: root/package/open-iscsi/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-11-23 17:12:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-11-23 17:12:14 +0100
commit937473821b259ed94969e62daa2ec60f5f2a9ffc (patch)
treee65a8238d6a68bc6aea4717a683a6b882143e957 /package/open-iscsi/Makefile
parent28adc48e65f44c7be5a007568ffaf7cf12df2833 (diff)
add preliminary support for a new hardware profile for OVH.net iscsi server
- add open-iscsi package - add a hardware profile for x86_64 target architecture - add CPU support for x86/x86_64 targets for hardware profiles
Diffstat (limited to 'package/open-iscsi/Makefile')
-rw-r--r--package/open-iscsi/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/package/open-iscsi/Makefile b/package/open-iscsi/Makefile
new file mode 100644
index 000000000..0194c1d3a
--- /dev/null
+++ b/package/open-iscsi/Makefile
@@ -0,0 +1,33 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(TOPDIR)/rules.mk
+
+PKG_NAME:= open-iscsi
+PKG_VERSION:= 2.0
+PKG_EXTRAVER:= 871
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 0c403e8c9ad41607571ba0e6e8ff196e
+PKG_DESCR:= iSCSI utilities
+PKG_SECTION:= fs
+PKG_URL:= http://www.open-iscsi.org/
+PKG_SITES:= http://www.open-iscsi.org/bits/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION)-$(PKG_EXTRAVER).tar.gz
+WRKDIST= ${WRKDIR}/${PKG_NAME}-${PKG_VERSION}-${PKG_EXTRAVER}
+
+include $(TOPDIR)/mk/package.mk
+
+ALL_TARGET:= user
+INSTALL_TARGET:= install_user
+
+$(eval $(call PKG_template,OPEN_ISCSI,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+
+CONFIG_STYLE:= manual
+
+do-install:
+ $(INSTALL_DIR) $(IDIR_OPEN_ISCSI)/sbin $(IDIR_OPEN_ISCSI)/etc/iscsi
+ $(INSTALL_BIN) $(WRKINST)/sbin/* $(IDIR_OPEN_ISCSI)/sbin
+ $(CP) $(WRKINST)/etc/iscsi/* $(IDIR_OPEN_ISCSI)/etc/iscsi
+
+include ${TOPDIR}/mk/pkg-bottom.mk