From: Mika Laitio Date: Sat, 25 Dec 2010 23:04:54 +0000 (+0200) Subject: added pk-config files X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=76b2f239b043e5f1f3037ae34b07d10ca369f45f;p=uci.git added pk-config files Signed-off-by: Mika Laitio --- diff --git a/Makefile b/Makefile index 8062bd4..f9fe9dd 100644 --- a/Makefile +++ b/Makefile @@ -78,8 +78,10 @@ install: install-bin install-dev install-dev: all $(MKDIR) -p $(DESTDIR)$(prefix)/$(LIBDIRNAME) $(MKDIR) -p $(DESTDIR)$(prefix)/include + $(MKDIR) -p $(DESTDIR)$(prefix)/$(LIBDIRNAME)/pkgconfig $(INSTALL) -m0644 libuci.a $(DESTDIR)$(prefix)/$(LIBDIRNAME)/ $(INSTALL) -m0644 uci_config.h uci.h ucimap.h $(DESTDIR)$(prefix)/include/ + $(INSTALL) -m0644 libuci.pc $(DESTDIR)$(prefix)/$(LIBDIRNAME)/pkgconfig install-bin: all $(MKDIR) -p $(DESTDIR)$(prefix)/$(LIBDIRNAME) diff --git a/libuci.pc b/libuci.pc new file mode 100644 index 0000000..63a9f44 --- /dev/null +++ b/libuci.pc @@ -0,0 +1,10 @@ +prefix=/usr +exec_prefix=${prefix} +libdir=${prefix}/lib +includedir=${prefix}/include + +Name: libuci +Description: Unified Configuration Interface +Version: 0.8 +Libs: -L${libdir} -luci +Cflags: -I${includedir}