diff options
author | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-05-17 17:01:27 +0100 |
commit | 0d37a1ef234c38b27faba43bc3a22f985d311deb (patch) | |
tree | dde8df9f508e7323c3d7df599ceade7705c40acd /repo/smartmontools/smartmontools.xibuild | |
parent | f29d569cd33a73da5ad675f43a34ad53c5cc9bc6 (diff) |
Remove all firmware
Diffstat (limited to 'repo/smartmontools/smartmontools.xibuild')
-rw-r--r-- | repo/smartmontools/smartmontools.xibuild | 33 |
1 files changed, 33 insertions, 0 deletions
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 +} + |