acl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Acl-devel] [PATCH acl 3/3] build: ship a pkgconfig file for libacl


From: Mike Frysinger
Subject: [Acl-devel] [PATCH acl 3/3] build: ship a pkgconfig file for libacl
Date: Sat, 18 Jan 2014 23:30:04 -0500

---
 .gitignore   |  1 +
 Makefile.am  |  2 ++
 configure.ac |  1 +
 libacl.pc.in | 10 ++++++++++
 4 files changed, 14 insertions(+)
 create mode 100644 libacl.pc.in

diff --git a/.gitignore b/.gitignore
index 307fbe9..7a19031 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 915ab2a..47d2a4e 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -10,8 +10,10 @@ AM_CPPFLAGS = \
        -I$(top_srcdir)/include \
        -DLOCALEDIR=\"$(localedir)\"
 
+pkgconfdir = $(libdir)/pkgconfig
 sysincludedir = $(includedir)/sys
 
+pkgconf_DATA = libacl.pc
 pkginclude_HEADERS =
 sysinclude_HEADERS =
 bin_PROGRAMS =
diff --git a/configure.ac b/configure.ac
index 27ea05d..2182e81 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,7 @@ AC_CONFIG_COMMANDS([include/sys],
        $as_ln_s "$ac_abs_top_srcdir/include" include/sys
        ])
 AC_CONFIG_FILES([
+       libacl.pc
        Makefile
        po/Makefile.in
 ])
diff --git a/libacl.pc.in b/libacl.pc.in
new file mode 100644
index 0000000..707a887
--- /dev/null
+++ b/libacl.pc.in
@@ -0,0 +1,10 @@
address@hidden@
address@hidden@
address@hidden@
address@hidden@
+
+Name:          libacl
+Description:   A library for POSIX Access Control Lists
+Version:       @PACKAGE_VERSION@
+Cflags:                -I${includedir}
+Libs:          -L${libdir} -lacl
-- 
1.8.4.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]