mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Adding libunrar installation, when building unrar.
svn path=/nixpkgs/trunk/; revision=19302
This commit is contained in:
parent
9dcfc5263b
commit
de6f189743
1 changed files with 6 additions and 2 deletions
|
@ -7,9 +7,13 @@ stdenv.mkDerivation {
|
|||
sha256 = "0inzy0jlwqm18i6lq17aq4n2baqqlbjyr6incw4s9cxrvmjq51ls";
|
||||
};
|
||||
|
||||
makeFlags = "-f makefile.unix";
|
||||
buildPhase = "make -f makefile.unix unrar lib CXXFLAGS=\"-fPIC -O2\"";
|
||||
|
||||
installPhase = "mkdir -p \${out}/bin/ ; cp unrar \${out}/bin/;";
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/lib
|
||||
cp unrar $out/bin
|
||||
cp libunrar.so $out/lib
|
||||
'';
|
||||
|
||||
buildInputs = [];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue