Genode Packages collection
https://git.sr.ht/~ehmry/genodepkgs/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
454 B
23 lines
454 B
# SPDX-License-Identifier: CC0-1.0 |
|
|
|
{ stdenvNoCC, depot }: |
|
|
|
let stdenv = stdenvNoCC; |
|
|
|
in stdenv.mkDerivation { |
|
pname = "libc"; |
|
version = "12.0.0"; |
|
outputs = [ "out" "dev" ]; |
|
|
|
dontUnpack = true; |
|
dontConfigure = true; |
|
dontBuild = true; |
|
|
|
installPhase = '' |
|
cp -r ${depot.libc} $out |
|
mkdir -p $dev/lib/pkgconfig |
|
substituteAll ${./libc.pc} libc.pc |
|
substituteAll ${./libm.pc} libm.pc |
|
install -Dt $dev/lib/pkgconfig *.pc |
|
''; |
|
}
|
|
|