nixpkgs/pkgs/tools/networking/miniupnpc/default.nix
Eelco Dolstra c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00

24 lines
574 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "miniupnpc-1.6";
src = fetchurl {
url = "http://miniupnp.free.fr/files/download.php?file=${name}.tar.gz";
sha256 = "151rh46axl44y7bbflb43pnj52gvlfnkxfgrn2jvai5gwrbbgmmv";
};
installFlags = "PREFIX=$(out) INSTALLPREFIX=$(out)";
postInstall =
''
mkdir -p $out/share/man/man3
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";
};
}