depot/third_party/nixpkgs/pkgs/development/libraries/linenoise/create-pkg-config-file.sh

14 lines
291 B
Bash
Raw Normal View History

cat <<EOF > linenoise.pc
prefix=$out
exec_prefix=\${prefix}
libdir=\${exec_prefix}/lib
includedir=\${prefix}/include
Name: linenoise
Description: A minimal, zero-config, BSD licensed, readline replacement.
Requires:
Version: 1.0.10
Cflags: -I\${includedir}/ \${prefix}/src/linenoise.c
EOF