[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Acl-devel] [PATCH 2/2] build: ship a pkgconfig file for libattr
From: |
Jan Engelhardt |
Subject: |
[Acl-devel] [PATCH 2/2] build: ship a pkgconfig file for libattr |
Date: |
Fri, 10 Jan 2014 15:47:23 +0100 |
---
.gitignore | 1 +
Makefile.am | 3 +++
configure.ac | 1 +
libattr.pc.in | 10 ++++++++++
4 files changed, 15 insertions(+)
create mode 100644 libattr.pc.in
diff --git a/.gitignore b/.gitignore
index 16742f8..bf796e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,6 +3,7 @@
*.lo
*.mo
*.o
+*.pc
.dirstamp
.deps/
.libs/
diff --git a/Makefile.am b/Makefile.am
index f6fc484..bb4910e 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 @@
address@hidden@
address@hidden@
address@hidden@
address@hidden@
+
+Name: libattr
+Description: A library for filesystem extended attribute support
+Version: @PACKAGE_VERSION@
+Cflags: -I${includedir}
+Libs: -L${libdir} -lattr
--
1.8.4
- [Acl-devel] [PATCH] build: drop attrincludedir, use pkgincludedir, Jan Engelhardt, 2014/01/10
- [Acl-devel] [PATCH 1/2] build: make use of an aux-dir to stow away helper scripts, Jan Engelhardt, 2014/01/10
- [Acl-devel] [PATCH 2/2] build: ship a pkgconfig file for libattr,
Jan Engelhardt <=
- Re: [Acl-devel] [PATCH 2/2] build: ship a pkgconfig file for libattr, Mike Frysinger, 2014/01/10
- Re: [Acl-devel] [PATCH 2/2] build: ship a pkgconfig file for libattr, Jan Engelhardt, 2014/01/10
- Re: [Acl-devel] [PATCH 2/2] build: ship a pkgconfig file for libattr, Mike Frysinger, 2014/01/10
- Re: [Acl-devel] [PATCH 2/2] build: ship a pkgconfig file for libattr, Jan Engelhardt, 2014/01/11
- Re: [Acl-devel] [PATCH 2/2] build: ship a pkgconfig file for libattr, Mike Frysinger, 2014/01/18
Re: [Acl-devel] [PATCH 1/2] build: make use of an aux-dir to stow away helper scripts, Mike Frysinger, 2014/01/10
Re: [Acl-devel] [PATCH] build: drop attrincludedir, use pkgincludedir, Mike Frysinger, 2014/01/10