minijail: install .pc files and scoped_minijail.h
This matches the behaviour of the Chromium OS ebuild for this package:
cd6d6815b1/chromeos-base/minijail/minijail-10-r38.ebuild (47)
This commit is contained in:
parent
a8508f7266
commit
fa0fe1d8c9
1 changed files with 12 additions and 5 deletions
|
@ -20,13 +20,20 @@ stdenv.mkDerivation rec {
|
|||
sed -i '/#include <asm\/siginfo.h>/ d' signal_handler.c
|
||||
'';
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs platform2_preinstall.sh
|
||||
'';
|
||||
|
||||
postBuild = ''
|
||||
./platform2_preinstall.sh ${version} $out/include/chromeos
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/lib
|
||||
mkdir -p $out/lib/pkgconfig $out/include/chromeos $out/bin
|
||||
cp -v *.so $out/lib
|
||||
mkdir -p $out/include
|
||||
cp -v libminijail.h $out/include
|
||||
mkdir -p $out/bin
|
||||
cp minijail0 $out/bin
|
||||
cp -v *.pc $out/lib/pkgconfig
|
||||
cp -v libminijail.h scoped_minijail.h $out/include/chromeos
|
||||
cp -v minijail0 $out/bin
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Reference in a new issue