Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Frécinaux <code@istique.net>2008-12-30 14:10:01 +0300
committerShawn O. Pearce <spearce@spearce.org>2008-12-30 18:31:03 +0300
commitd7fbfe155fbddb41936407612fbce9c34276b671 (patch)
treed54b77f23f9cf4f0016dca8ceadeed48b1ad5686 /libgit2.pc.in
parent5ddbd5edf83e034a62499a1a9c94645d7b9030dc (diff)
Add pkg-config support.
The libgit2.pc is generated on make install and installed, to allow using the lib through the pkg-config helper. Signed-off-by: Steve Frécinaux <code@istique.net> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'libgit2.pc.in')
-rw-r--r--libgit2.pc.in11
1 files changed, 11 insertions, 0 deletions
diff --git a/libgit2.pc.in b/libgit2.pc.in
new file mode 100644
index 000000000..9e2cd50ab
--- /dev/null
+++ b/libgit2.pc.in
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include
+
+Name: libgit2
+Description: The git library, take 2
+Version: 0.0.1
+Requires:
+Libs: -L${libdir} -lgit2
+Cflags: -I${includedir}