mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 03:56:17 +03:00
Adding libunrar installation, when building unrar.
svn path=/nixpkgs/trunk/; revision=19302
This commit is contained in:
parent
9dcfc5263b
commit
de6f189743
@ -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 New Issue
Block a user