crispy-doom: new package at 5.11.1
[kiss-trunc88.git] / smartmontools / build
blob7fa49a653189af049b867fea2c2642b322fb4311
1 #!/bin/sh -e
2 ./configure \
3 --prefix=/usr \
4 --sysconfdir=/etc \
5 --with-libsystemd=no \
6 --with-libcap-ng=no \
7 --with-smartdscriptdir=/usr/share/smartmontools \
8 --with-smartdplugindir=/usr/share/smartmontools/smartd_warning.d
9 make
10 make DESTDIR="$1" install
11 rm -rf "$1/etc/rc.d"
12 mkdir -p "$1/etc/conf.d/"
13 echo 'SMARTD_ARGS=""' > "$1/etc/conf.d/smartd"