From aa87d0f94b7e39ae8c31d4f273440d1ad0a13d6b Mon Sep 17 00:00:00 2001 From: Christophe de Dinechin Date: Sat, 26 May 2018 11:15:13 +0200 Subject: [PATCH] Add documentation for pkg-config file generation --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index 220a107..59fdd55 100644 --- a/README.md +++ b/README.md @@ -418,6 +418,21 @@ is optional. gstreamer-1.0 +# Package configuration (for `pkg-config`) + +To generate a `.pc` file suitable for `pkg-config`, set variables +in your makefile as follows: + + PACKAGE_NAME=my-great-stuff + PACKAGE_VERSION=0.0.1 + PACKAGE_DESCRIPTION=This is insanely great stuff + PACKAGE_URL=http://www.my-great-stuff.org + PACKAGE_REQUIRES=some-library >= 0.3 + PACKAGE_BUGS=bugreports@my-great-stuff.org + +A file called `my-great-stuff.pc` will be generated and installed +along with your product. + ## Other stuff There a few utility targets, in particular: