lucenepp: install header files of lucene-contrib
This commit is contained in:
parent
b3e4c23196
commit
eb50502c5f
|
@ -14,13 +14,13 @@ stdenv.mkDerivation rec {
|
||||||
nativeBuildInputs = [ cmake ];
|
nativeBuildInputs = [ cmake ];
|
||||||
buildInputs = [ boost gtest zlib ];
|
buildInputs = [ boost gtest zlib ];
|
||||||
|
|
||||||
doCheck = true;
|
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace src/test/CMakeLists.txt \
|
substituteInPlace src/test/CMakeLists.txt \
|
||||||
--replace "add_subdirectory(gtest)" ""
|
--replace "add_subdirectory(gtest)" ""
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
LD_LIBRARY_PATH=$PWD/src/contrib:$PWD/src/core \
|
LD_LIBRARY_PATH=$PWD/src/contrib:$PWD/src/core \
|
||||||
|
@ -30,6 +30,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv $out/include/pkgconfig $out/lib/
|
mv $out/include/pkgconfig $out/lib/
|
||||||
|
cp $src/src/contrib/include/*h $out/include/lucene++/
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue