Signed-off-by: Mika Laitio <lamikr@pilppa.org>
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)
--- /dev/null
+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}