2012-08-25 10:13:20 +01:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
_name = "liblockfile";
|
2019-08-04 21:53:37 +01:00
|
|
|
version = "1.15";
|
2012-08-25 10:13:20 +01:00
|
|
|
name = "${_name}-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/libl/${_name}/${_name}_${version}.orig.tar.gz";
|
2019-08-04 21:53:37 +01:00
|
|
|
sha256 = "04ml9isvdl72fbr1825x7jb680xp8aprdq4pag32ahyjqk909cmh";
|
2012-08-25 10:13:20 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
preConfigure = ''
|
2017-06-20 06:24:20 +01:00
|
|
|
sed -i -e 's/ -g [^ ]* / /' Makefile.in
|
2012-08-25 10:13:20 +01:00
|
|
|
'';
|
|
|
|
|
|
|
|
preInstall = ''
|
|
|
|
mkdir -p $out/{bin,lib,include,man} $out/man/man{1,3}
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Shared library with NFS-safe locking functions";
|
2012-08-25 10:13:20 +01:00
|
|
|
homepage = http://packages.debian.org/unstable/libs/liblockfile1;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2012-08-25 10:13:20 +01:00
|
|
|
|
|
|
|
maintainers = [ stdenv.lib.maintainers.bluescreen303 ];
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
};
|
|
|
|
}
|