added: intel-ipmd #4

Open
doloro wants to merge 2 commits from intel-ipmd into main
Showing only changes of commit a2481fb310 - Show all commits

View File

@@ -44,15 +44,15 @@ stdenv.mkDerivation (final: {
# https://github.com/intel/intel-lpmd?tab=readme-ov-file#build-and-install # https://github.com/intel/intel-lpmd?tab=readme-ov-file#build-and-install
configurePhase = '' configurePhase = ''
./autogen.sh --localstatedir=/var --sysconfdir=$out/etc ./autogen.sh --localstatedir=/var --sysconfdir=$out/etc
''; '';
buildPhase = '' buildPhase = ''
make make
mkdir -p "$out/bin" mkdir -p "$out/bin"
cp ./intel_lpmd $out/bin/intel_lpmd cp ./intel_lpmd $out/bin/intel_lpmd
''; '';
# Needed for config files, which the program will not run without. # Needed for config files, which the program will not run without.
installPhase = '' installPhase = ''
mkdir -p "$out/etc/intel_lpmd/" mkdir -p "$out/etc/intel_lpmd/"
cp $src/data/* $out/etc/intel_lpmd/ -r cp $src/data/* $out/etc/intel_lpmd/ -r
''; '';
}) })