From 71ff322ce5bd4b115364156ae190876ba77ad132 Mon Sep 17 00:00:00 2001 From: Joerg Seitter Date: Sun, 19 Apr 2020 11:23:37 +0200 Subject: new package smartmontools Signed-off-by: Joerg Seitter --- package/smartmontools/Makefile | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 package/smartmontools/Makefile (limited to 'package') 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 -- cgit v1.2.3