mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 23:52:33 +00:00
82e678362f
svn path=/nixpkgs/trunk/; revision=4335
18 lines
446 B
Bash
18 lines
446 B
Bash
source $stdenv/setup
|
|
|
|
# This must be the ugliest builder in the Nix Packages
|
|
|
|
tar zxvf $nsssrc
|
|
tar zxvf $nsprsrc
|
|
|
|
mv nspr-*/mozilla/nsprpub nss-*/mozilla
|
|
cd nss-*/mozilla/security/nss
|
|
make nss_build_all
|
|
make install
|
|
|
|
mkdir -p $out/lib
|
|
mkdir -p $out/include/nspr
|
|
find ../../dist/*/lib -type l -name "*.so" -o -name "*.chk" | xargs --replace cp -L {} $out/lib
|
|
cp -Lr ../../dist/public/* $out/include
|
|
cp -Lr ../../dist/*/include/* $out/include/nspr
|