summaryrefslogtreecommitdiff
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 d1dc550..4bf28cf 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 0000000..b5242a6
--- /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