diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-02 18:37:29 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-11-02 18:37:29 +0000 |
commit | ca2bbaf251984822fdd543abb453d1ffbe4d2367 (patch) | |
tree | ab9b252fa21ebf79134ffb94a960d8f9462a443f | |
parent | aef409c4601014d65e3dc9975bb30fadfdfec731 (diff) | |
download | termo-ca2bbaf251984822fdd543abb453d1ffbe4d2367.tar.gz termo-ca2bbaf251984822fdd543abb453d1ffbe4d2367.tar.xz termo-ca2bbaf251984822fdd543abb453d1ffbe4d2367.zip |
Install a .pc file so that pkg-config works
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | termkey.pc.in | 9 |
2 files changed, 11 insertions, 0 deletions
@@ -35,3 +35,5 @@ install: install -d $(DESTDIR)$(LIBDIR) install libtermkey.so $(DESTDIR)$(LIBDIR)/$(SONAME) ln -sf $(SONAME) $(DESTDIR)$(LIBDIR)/libtermkey.so + install -d $(DESTDIR)$(LIBDIR)/pkgconfig + sed "s,@PREFIX@,$(PREFIX)," <termkey.pc.in >$(DESTDIR)$(LIBDIR)/pkgconfig/termkey.pc diff --git a/termkey.pc.in b/termkey.pc.in new file mode 100644 index 0000000..6e54e8e --- /dev/null +++ b/termkey.pc.in @@ -0,0 +1,9 @@ +prefix=@PREFIX@ +libdir=${prefix}/lib +includedir=${prefix}/include + +Name: termkey +Description: Abstract terminal key input library +Version: 0.1 +Libs: -L${libdir} -ltermkey +Cflags: -I${includedir} |