make use of new extractRuntimeHook
This commit is contained in:
parent
e2e77950f3
commit
9e685556f2
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, autoconf, automake, libtool, ruby }:
|
{ stdenv, fetchurl, autoconf, automake, libtool, ruby, scatterOutputHook }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "0.5.8";
|
version = "0.5.8";
|
||||||
@ -9,17 +9,18 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1h6k9kdbfavmw3by5kk3raszwa64hn9k8yw9rdhvl5m8g2lks89k";
|
sha256 = "1h6k9kdbfavmw3by5kk3raszwa64hn9k8yw9rdhvl5m8g2lks89k";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ scatterOutputHook ];
|
||||||
buildInputs = [ autoconf automake libtool ruby ];
|
buildInputs = [ autoconf automake libtool ruby ];
|
||||||
|
|
||||||
outputs = [ "out" "lib" ];
|
outputs = [ "out" "bin" ];
|
||||||
|
|
||||||
preConfigure = "./bootstrap";
|
preConfigure = ''
|
||||||
|
sed -i s,glibtoolize,libtoolize, ./bootstrap
|
||||||
postInstall = ''
|
./bootstrap
|
||||||
mkdir -p $lib/lib
|
|
||||||
mv $out/lib/*.so.* $lib/lib/
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "MessagePack implementation for C and C++";
|
description = "MessagePack implementation for C and C++";
|
||||||
homepage = http://msgpack.org;
|
homepage = http://msgpack.org;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user