thinkfan: install manual, README and examples

READMEs usually just waste those precious kilobytes, but both the
manual page and --help output refer to this one quite a bit.
This commit is contained in:
Tobias Geerinckx-Rice 2016-05-04 00:33:27 +02:00
parent b1bf11881a
commit d6e4c1b750
No known key found for this signature in database
GPG Key ID: 91CCDB9B48541B99

View File

@ -18,14 +18,17 @@ stdenv.mkDerivation rec {
''; '';
installPhase = '' installPhase = ''
mkdir -p $out/bin; install -Dm755 {.,$out/bin}/thinkfan
mv thinkfan $out/bin/;
cd $sourceRoot
install -Dm644 {.,$out/share/doc/thinkfan}/README
cp -R examples $out/share/doc/thinkfan
install -Dm644 {.,$out/share/man/man1}/thinkfan.1
''; '';
meta = { meta = {
description = "";
license = stdenv.lib.licenses.gpl3; license = stdenv.lib.licenses.gpl3;
homepage = "http://thinkfan.sourceforge.net/"; homepage = http://thinkfan.sourceforge.net/;
maintainers = with stdenv.lib.maintainers; [ iElectric ]; maintainers = with stdenv.lib.maintainers; [ iElectric ];
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;
}; };