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/libexpr | |
parent | d64b8e9e53c1087ec611066cfa21261ee2164869 (diff) |
Install some pkgconfig files
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/local.mk | 2 | ||||
-rw-r--r-- | src/libexpr/nix-expr.pc.in | 10 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/libexpr/local.mk b/src/libexpr/local.mk index 620a03538..6bb151167 100644 --- a/src/libexpr/local.mk +++ b/src/libexpr/local.mk @@ -26,3 +26,5 @@ $(d)/lexer-tab.cc $(d)/lexer-tab.hh: $(d)/lexer.l clean-files += $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh dist-files += $(d)/parser-tab.cc $(d)/parser-tab.hh $(d)/lexer-tab.cc $(d)/lexer-tab.hh + +$(eval $(call install-file-in, $(d)/nix-expr.pc, $(libdir)/pkgconfig, 0644)) diff --git a/src/libexpr/nix-expr.pc.in b/src/libexpr/nix-expr.pc.in new file mode 100644 index 000000000..21b6c38dd --- /dev/null +++ b/src/libexpr/nix-expr.pc.in @@ -0,0 +1,10 @@ +prefix=@prefix@ +libdir=@libdir@ +includedir=@includedir@ + +Name: Nix +Description: Nix Package Manager +Version: @PACKAGE_VERSION@ +Requires: nix-store bdw-gc +Libs: -L${libdir} -lnixexpr +Cflags: -I${includedir}/nix |