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";
|
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 = [];
|
buildInputs = [];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user