diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-18 12:00:40 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-18 12:00:40 +0200 |
commit | 8be9990cdb1ce35e1138c9ed477ecfd93ca7f184 (patch) | |
tree | b460ade8a87c833db922c5ca34b98df8d9e60fb1 /src/libstore | |
parent | d64b8e9e53c1087ec611066cfa21261ee2164869 (diff) |
Install some pkgconfig files
Diffstat (limited to 'src/libstore')
-rw-r--r-- | src/libstore/local.mk | 2 | ||||
-rw-r--r-- | src/libstore/nix-store.pc.in | 9 |
2 files changed, 11 insertions, 0 deletions
diff --git a/src/libstore/local.mk b/src/libstore/local.mk index 180088d3d..024d7dec7 100644 --- a/src/libstore/local.mk +++ b/src/libstore/local.mk @@ -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)) diff --git a/src/libstore/nix-store.pc.in b/src/libstore/nix-store.pc.in new file mode 100644 index 000000000..3f1a2d83d --- /dev/null +++ b/src/libstore/nix-store.pc.in @@ -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 |