summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Seitter <adk@seitter.net>2020-04-19 11:23:37 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-04-23 16:28:48 +0200
commit71ff322ce5bd4b115364156ae190876ba77ad132 (patch)
tree01098901ae26b7a9adf73c626cb8f7050f4ced8c
parent57af931c53b02cc5c308858d73489d40327fe966 (diff)
new package smartmontools
Signed-off-by: Joerg Seitter <adk@seitter.net>
-rw-r--r--package/smartmontools/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/smartmontools/Makefile b/package/smartmontools/Makefile
new file mode 100644
index 000000000..29ac4fe6b
--- /dev/null
+++ b/package/smartmontools/Makefile
@@ -0,0 +1,31 @@
+# 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
+
+# always use tab spaces as separator, no spaces
+PKG_NAME:= smartmontools
+PKG_VERSION:= 7.1
+PKG_RELEASE:= 1
+PKG_HASH:= 3f734d2c99deb1e4af62b25d944c6252de70ca64d766c4c7294545a2e659b846
+PKG_DESCR:= add short description
+PKG_SECTION:= sys/hw
+PKG_URL:= www.smartmontools.org
+PKG_SITES:= $(MASTER_SITE_SOURCEFORGE:=smartmontools/)
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,SMARTMONTOOLS,smartmontools,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+smartmontools-install:
+ $(INSTALL_DIR) $(IDIR_SMARTMONTOOLS)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/smartctl \
+ $(IDIR_SMARTMONTOOLS)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/smartd \
+ $(IDIR_SMARTMONTOOLS)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/update-smart-drivedb \
+ $(IDIR_SMARTMONTOOLS)/usr/sbin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk