2011-05-17 13:34:18 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-11-24 20:48:20 +01:00
|
|
|
name = "miniupnpc-1.6";
|
2011-05-17 13:34:18 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
|
2011-11-24 20:48:20 +01:00
|
|
|
sha256 = "151rh46axl44y7bbflb43pnj52gvlfnkxfgrn2jvai5gwrbbgmmv";
|
2011-05-17 13:34:18 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
|
|
|
|
|
|
|
|
postInstall =
|
|
|
|
''
|
2012-01-18 21:16:00 +01:00
|
|
|
mkdir -p $out/share/man/man3
|
2011-05-17 13:34:18 +02:00
|
|
|
cp man3/miniupnpc.3 $out/share/man/man3/
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://miniupnp.free.fr/;
|
|
|
|
description = "A client that implements the UPnP Internet Gateway Device (IGD) specification";
|
|
|
|
};
|
|
|
|
}
|