diff options
author | Jan Engelhardt <jengelh@inai.de> | 2014-01-10 15:47:23 +0100 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2014-01-13 13:32:37 +0100 |
commit | b499d7e7b3953292cbe1119adfc9c832c55cc49f (patch) | |
tree | d3cb80597d26c2c42656f0be32d2b613053589d4 | |
parent | 4087eeac017ce07e709d8f1762a559dc34da6bb9 (diff) | |
download | attr-b499d7e7b3953292cbe1119adfc9c832c55cc49f.tar.gz |
build: ship a pkgconfig file for libattr
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | libattr.pc.in | 10 |
4 files changed, 15 insertions, 0 deletions
@@ -3,6 +3,7 @@ *.lo *.mo *.o +*.pc .dirstamp .deps/ .libs/ diff --git a/Makefile.am b/Makefile.am index f6fc484..ec56888 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,6 +11,9 @@ AM_CPPFLAGS = \ -DLOCALEDIR=\"$(localedir)\" \ -DSYSCONFDIR=\"$(sysconfdir)\" +pkgconfdir = $(libdir)/pkgconfig + +pkgconf_DATA = libattr.pc pkginclude_HEADERS = bin_PROGRAMS = lib_LTLIBRARIES = diff --git a/configure.ac b/configure.ac index 26f75ed..8a1ca39 100644 --- a/configure.ac +++ b/configure.ac @@ -57,6 +57,7 @@ AC_CONFIG_COMMANDS([include/attr], $as_ln_s "$ac_abs_top_srcdir/include" include/attr ]) AC_CONFIG_FILES([ + libattr.pc Makefile po/Makefile.in ]) diff --git a/libattr.pc.in b/libattr.pc.in new file mode 100644 index 0000000..c8f0c7b --- /dev/null +++ b/libattr.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +exec_prefix=@exec_prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: libattr +Description: A library for filesystem extended attribute support +Version: @PACKAGE_VERSION@ +Cflags: -I${includedir} +Libs: -L${libdir} -lattr |