https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
10 lines
272 B
PkgConfig
10 lines
272 B
PkgConfig
prefix=@out@
|
|
exec_prefix=${prefix}
|
|
libdir=${exec_prefix}/lib
|
|
includedir=${prefix}/include
|
|
|
|
Name: duktape
|
|
Description: An embeddable Javascript engine, with a focus on portability and compact footprint
|
|
Version: @version@
|
|
Libs: -L${libdir} -lduktape
|
|
Cflags: -I${includedir}
|