diff options
author | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2016-10-03 12:51:16 +0200 |
---|---|---|
committer | Benno Fünfstück <benno.fuenfstueck@gmail.com> | 2016-10-08 18:00:52 +0200 |
commit | de79db8c99bc7aaeda13f8c800d5d8a780774368 (patch) | |
tree | a9897ad347137f5553bb3c405b5a011d42095b64 /pkgs/development/libraries | |
parent | dfb7ea6fd111764405a20fcfd57fc1642817efec (diff) |
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.
Diffstat (limited to 'pkgs/development/libraries')
-rw-r--r-- | pkgs/development/libraries/capstone/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/libraries/capstone/default.nix b/pkgs/development/libraries/capstone/default.nix index 80f858254ffbd..97a9752326021 100644 --- a/pkgs/development/libraries/capstone/default.nix +++ b/pkgs/development/libraries/capstone/default.nix @@ -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 = { |