Install some pkgconfig files

This commit is contained in:
Eelco Dolstra 2014-09-18 12:00:40 +02:00
parent d64b8e9e53
commit 8be9990cdb
7 changed files with 35 additions and 0 deletions

View file

@ -30,3 +30,5 @@ $(d)/local-store.cc: $(d)/schema.sql.hh
$(trace-gen) sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/' < $< > $@ || (rm $@ && exit 1)
clean-files += $(d)/schema.sql.hh
$(eval $(call install-file-in, $(d)/nix-store.pc, $(libdir)/pkgconfig, 0644))

View file

@ -0,0 +1,9 @@
prefix=@prefix@
libdir=@libdir@
includedir=@includedir@
Name: Nix
Description: Nix Package Manager
Version: @PACKAGE_VERSION@
Libs: -L${libdir} -lnixstore -lnixutil -lnixformat
Cflags: -I${includedir}/nix