3
0
Fork 0
forked from mirrors/nixpkgs

add liblockfile-1.09

This commit is contained in:
Mathijs Kwik 2012-08-25 11:13:20 +02:00
parent 130a4aa507
commit 8c96572638
2 changed files with 32 additions and 0 deletions

View file

@ -0,0 +1,30 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
_name = "liblockfile";
version = "1.09";
name = "${_name}-${version}";
src = fetchurl {
url = "mirror://debian/pool/main/libl/${_name}/${_name}_${version}.orig.tar.gz";
sha256 = "0zqvbxls1632wqfhv4v3q2djzlz9391h0wdgsvhnaqrr0nx9x5qn";
};
preConfigure = ''
sed -i -e 's/install -g [^ ]* /install /' Makefile.in
'';
preInstall = ''
mkdir -p $out/{bin,lib,include,man} $out/man/man{1,3}
'';
meta = {
description = "Liblockfile is a shared library with NFS-safe locking functions.";
homepage = http://packages.debian.org/unstable/libs/liblockfile1;
license = "GPLv2+";
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
platforms = stdenv.lib.platforms.all;
};
}

View file

@ -4122,6 +4122,8 @@ let
liblqr1 = callPackage ../development/libraries/liblqr-1 { };
liblockfile = callPackage ../development/libraries/liblockfile { };
libmhash = callPackage ../development/libraries/libmhash {};
libmtp = callPackage ../development/libraries/libmtp { };