aboutsummaryrefslogtreecommitdiff
path: root/pkgconfig
diff options
context:
space:
mode:
Diffstat (limited to 'pkgconfig')
-rw-r--r--pkgconfig/Makefile4
-rw-r--r--pkgconfig/einfo.pc.in9
2 files changed, 11 insertions, 2 deletions
diff --git a/pkgconfig/Makefile b/pkgconfig/Makefile
index d1dc5507..4bf28cfb 100644
--- a/pkgconfig/Makefile
+++ b/pkgconfig/Makefile
@@ -1,6 +1,6 @@
DIR= ${LIBDIR}/pkgconfig
-SRCS= openrc.pc.in
-INC= openrc.pc
+SRCS= einfo.pc.in openrc.pc.in
+INC= einfo.pc openrc.pc
.DEFAULT:
${SED} -n -e 's/^VERSION=[[:space:]]*\([^[:space:]]*\).*/#define VERSION "\1${GITVER}\"/p' ../../Makefile > version.h
diff --git a/pkgconfig/einfo.pc.in b/pkgconfig/einfo.pc.in
new file mode 100644
index 00000000..b5242a66
--- /dev/null
+++ b/pkgconfig/einfo.pc.in
@@ -0,0 +1,9 @@
+prefix=@PREFIX@
+exec_prefix=${prefix}
+libdir=${prefix}/@LIB@
+includedir=/usr/include
+
+Name: einfo
+Description: Pretty console informational display
+Version: @VERSION@
+Libs: -L${libdir} -leinfo