]> git.rm.cloudns.org Git - xonotic/d0_blind_id.git/commitdiff
pkgconfig support
authorRudolf Polzer <divverent@alientrap.org>
Sat, 24 Apr 2010 19:23:23 +0000 (21:23 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Sat, 24 Apr 2010 19:23:23 +0000 (21:23 +0200)
Makefile.am
configure.ac
d0_blind_id.pc.in [new file with mode: 0644]

index 4e540ef22056422295c17524afe36c337ccf100e..503c946db1433b71513e4b6fa091822134eeeed9 100644 (file)
@@ -12,3 +12,5 @@ libblind_id_la_LDFLAGS = -versioninfo 0:0:0
 
 library_includedir = $(includedir)/d0_blind_id
 library_include_HEADERS = d0_blind_id.h d0.h
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_HEADERS = d0_blind_id.pc
index 65b2ea87be9cb88e34713608d0e43b32ce525483..a034e98ed8be43d73ab390eed97f0642eba90b22 100644 (file)
@@ -6,6 +6,6 @@ AM_PROG_LIBTOOL
 AC_SEARCH_LIBS(clock_gettime, rt, , [AC_MSG_ERROR([GNU MP not found, see http://gmplib.org/])])
 AC_SEARCH_LIBS(__gmpz_init, gmp, , [AC_MSG_ERROR([GNU MP not found, see http://gmplib.org/])])
 
-AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([Makefile])
+dnl AC_CONFIG_HEADERS([config.h])
+AC_CONFIG_FILES([Makefile d0_blind_id.pc])
 AC_OUTPUT
diff --git a/d0_blind_id.pc.in b/d0_blind_id.pc.in
new file mode 100644 (file)
index 0000000..bfd5097
--- /dev/null
@@ -0,0 +1,11 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: Blind-ID
+Description: Library for user identification using RSA blind signatures
+Requires: 
+Version: @VERSION@
+Libs: -L${libdir} -lblind_id
+Cflags: -I${includedir}/blind_id