From 0d37a1ef234c38b27faba43bc3a22f985d311deb Mon Sep 17 00:00:00 2001 From: davidovski Date: Wed, 17 May 2023 17:01:27 +0100 Subject: Remove all firmware --- repo/smartmontools/smartmontools.xibuild | 33 ++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 repo/smartmontools/smartmontools.xibuild (limited to 'repo/smartmontools/smartmontools.xibuild') diff --git a/repo/smartmontools/smartmontools.xibuild b/repo/smartmontools/smartmontools.xibuild new file mode 100644 index 0000000..21583a6 --- /dev/null +++ b/repo/smartmontools/smartmontools.xibuild @@ -0,0 +1,33 @@ +#!/bin/sh + +NAME="smartmontools" +DESC="Control and monitor S.M.A.R.T. enabled hard drives" + +MAKEDEPS="linux-headers" + +PKG_VER=7.3 +SOURCE="https://downloads.sourceforge.net/sourceforge/smartmontools/smartmontools-$PKG_VER.tar.gz" + +ADDITIONAL=" +smartd.confd +smartd.initd +" + +build() { + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc + make +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST"/ install + + install -Dm755 "$BUILD_ROOT"/smartd.initd "$PKG_DEST"/etc/init.d/smartd + install -Dm644 "$BUILD_ROOT"/smartd.confd "$PKG_DEST"/etc/conf.d/smartd +} + -- cgit v1.2.1