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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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