From d7fbfe155fbddb41936407612fbce9c34276b671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steve=20Fr=C3=A9cinaux?= Date: Tue, 30 Dec 2008 12:10:01 +0100 Subject: Add pkg-config support. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Shawn O. Pearce --- libgit2.pc.in | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 libgit2.pc.in (limited to 'libgit2.pc.in') diff --git a/libgit2.pc.in b/libgit2.pc.in new file mode 100644 index 00000000..9e2cd50a --- /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} -- cgit v1.2.1