capstone: use Makefile build (for pkg-config files)
The cmake based build system did not install the pkg-config files for capstone, which made builds depending on capstone harder to write as they cannot automatically find the location of the capstone library.
This commit is contained in:
parent
dfb7ea6fd1
commit
de79db8c99
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchurl, bash, cmake }:
|
||||
{ stdenv, fetchurl, bash }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "capstone-${version}";
|
||||
@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "1whl5c8j6vqvz2j6ay2pyszx0jg8d3x8hq66cvgghmjchvsssvax";
|
||||
};
|
||||
|
||||
buildInputs = [ cmake ];
|
||||
configurePhase = '' patchShebangs make.sh '';
|
||||
buildPhase = '' ./make.sh '';
|
||||
installPhase = '' env PREFIX=$out ./make.sh install '';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
meta = {
|
||||
|
Loading…
Reference in New Issue
Block a user