libow: fix darwin build
This commit is contained in:
parent
489cfcf8c5
commit
d051dab8d1
|
@ -11,19 +11,13 @@ stdenv.mkDerivation rec {
|
||||||
sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
|
sha256 = "0dln1ar7bxwhpi36sccmpwapy7iz4j097rbf02mgn42lw5vrcg3s";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ autoconf automake pkg-config ];
|
nativeBuildInputs = [ autoconf automake libtool pkg-config ];
|
||||||
|
|
||||||
meta = with lib; {
|
preConfigure = ''
|
||||||
description = "1-Wire File System full library";
|
# Tries to use glibtoolize on Darwin, but it shouldn't for Nix.
|
||||||
homepage = "https://owfs.org/";
|
sed -i -e 's/glibtoolize/libtoolize/g' bootstrap
|
||||||
license = licenses.gpl2;
|
./bootstrap
|
||||||
maintainers = with maintainers; [ disserman ];
|
'';
|
||||||
platforms = platforms.unix;
|
|
||||||
};
|
|
||||||
|
|
||||||
buildInputs = [ libtool ];
|
|
||||||
|
|
||||||
preConfigure = "./bootstrap";
|
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--disable-owtcl"
|
"--disable-owtcl"
|
||||||
|
@ -35,9 +29,16 @@ stdenv.mkDerivation rec {
|
||||||
"--disable-owftpd"
|
"--disable-owftpd"
|
||||||
"--disable-owserver"
|
"--disable-owserver"
|
||||||
"--disable-owperl"
|
"--disable-owperl"
|
||||||
"--disable-owtcl"
|
|
||||||
"--disable-owtap"
|
"--disable-owtap"
|
||||||
"--disable-owmon"
|
"--disable-owmon"
|
||||||
"--disable-owexternal"
|
"--disable-owexternal"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "1-Wire File System full library";
|
||||||
|
homepage = "https://owfs.org/";
|
||||||
|
license = licenses.gpl2;
|
||||||
|
maintainers = with maintainers; [ disserman ];
|
||||||
|
platforms = platforms.unix;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue