Merge pull request #66 from morfoh/pkgconfig

build: create and install a pkgconfig file
This commit is contained in:
Frank Denis
2013-08-11 22:08:20 -07:00
3 changed files with 15 additions and 0 deletions
+3
View File
@@ -9,3 +9,6 @@ EXTRA_DIST = \
SUBDIRS = \
src \
test
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = @PACKAGE_NAME@.pc
+1
View File
@@ -362,6 +362,7 @@ AH_VERBATIM([NDEBUG], [/* Never ever ignore assertions */
#/**/undef/**/ NDEBUG
#endif])
AC_CONFIG_FILES([libsodium.pc])
AC_CONFIG_FILES([Makefile
src/Makefile
src/libsodium/Makefile
+11
View File
@@ -0,0 +1,11 @@
prefix=@prefix@
exec_prefix=@prefix@
libdir=@libdir@
includedir=@includedir@
Name: @PACKAGE_NAME@
Version: @PACKAGE_VERSION@
Description: A portable, cross-compilable, installable, packageable fork of NaCl, with a compatible API.
Libs: -L${libdir} -lsodium
Cflags: -I${includedir}