3
0
Fork 0
forked from mirrors/nixpkgs

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 = ''
mkdir -p $out/bin;
mv thinkfan $out/bin/;
install -Dm755 {.,$out/bin}/thinkfan
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 = {
description = "";
license = stdenv.lib.licenses.gpl3;
homepage = "http://thinkfan.sourceforge.net/";
homepage = http://thinkfan.sourceforge.net/;
maintainers = with stdenv.lib.maintainers; [ iElectric ];
platforms = stdenv.lib.platforms.linux;
};