[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
204/376: Install some pkgconfig files
From: |
Ludovic Courtès |
Subject: |
204/376: Install some pkgconfig files |
Date: |
Wed, 28 Jan 2015 22:05:03 +0000 |
civodul pushed a commit to tag 1.8
in repository guix.
commit 8be9990cdb1ce35e1138c9ed477ecfd93ca7f184
Author: Eelco Dolstra <address@hidden>
Date: Thu Sep 18 12:00:40 2014 +0200
Install some pkgconfig files
---
.gitignore | 1 +
src/libexpr/local.mk | 2 ++
src/libexpr/nix-expr.pc.in | 10 ++++++++++
src/libmain/local.mk | 2 ++
src/libmain/nix-main.pc.in | 9 +++++++++
src/libstore/local.mk | 2 ++
src/libstore/nix-store.pc.in | 9 +++++++++
7 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/.gitignore b/.gitignore
index c8a65ad..e420fbf 100644
--- a/.gitignore
+++ b/.gitignore
@@ -114,6 +114,7 @@ Makefile.config
*.so
*.dep
*~
+*.pc
# GNU Global
GPATH
diff --git a/src/libexpr/local.mk b/src/libexpr/local.mk
index 620a035..6bb1511 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 0000000..21b6c38
--- /dev/null
+++ b/src/libexpr/nix-expr.pc.in
@@ -0,0 +1,10 @@
address@hidden@
address@hidden@
address@hidden@
+
+Name: Nix
+Description: Nix Package Manager
+Version: @PACKAGE_VERSION@
+Requires: nix-store bdw-gc
+Libs: -L${libdir} -lnixexpr
+Cflags: -I${includedir}/nix
diff --git a/src/libmain/local.mk b/src/libmain/local.mk
index 71a07d1..4b6a476 100644
--- a/src/libmain/local.mk
+++ b/src/libmain/local.mk
@@ -9,3 +9,5 @@ libmain_SOURCES := $(wildcard $(d)/*.cc)
libmain_LIBS = libstore libutil libformat
libmain_ALLOW_UNDEFINED = 1
+
+$(eval $(call install-file-in, $(d)/nix-main.pc, $(libdir)/pkgconfig, 0644))
diff --git a/src/libmain/nix-main.pc.in b/src/libmain/nix-main.pc.in
new file mode 100644
index 0000000..de1bdf7
--- /dev/null
+++ b/src/libmain/nix-main.pc.in
@@ -0,0 +1,9 @@
address@hidden@
address@hidden@
address@hidden@
+
+Name: Nix
+Description: Nix Package Manager
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lnixmain
+Cflags: -I${includedir}/nix
diff --git a/src/libstore/local.mk b/src/libstore/local.mk
index 180088d..024d7de 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 0000000..3f1a2d8
--- /dev/null
+++ b/src/libstore/nix-store.pc.in
@@ -0,0 +1,9 @@
address@hidden@
address@hidden@
address@hidden@
+
+Name: Nix
+Description: Nix Package Manager
+Version: @PACKAGE_VERSION@
+Libs: -L${libdir} -lnixstore -lnixutil -lnixformat
+Cflags: -I${includedir}/nix
- 191/376: Drop separate release notes, (continued)
- 191/376: Drop separate release notes, Ludovic Courtès, 2015/01/28
- 199/376: Settings: Add bool get(), Ludovic Courtès, 2015/01/28
- 193/376: Fix parallel make of manpages, Ludovic Courtès, 2015/01/28
- 195/376: Make troubleshooting an appendix, Ludovic Courtès, 2015/01/28
- 197/376: Remove unhelpful suggestion, Ludovic Courtès, 2015/01/28
- 196/376: Delete bugs.xml, Ludovic Courtès, 2015/01/28
- 183/376: Manual build fixes, Ludovic Courtès, 2015/01/28
- 203/376: Remove unused w3m dependency, Ludovic Courtès, 2015/01/28
- 182/376: Merge branch 'master' of github.com:thatdocslady/nix, Ludovic Courtès, 2015/01/28
- 207/376: Remove debug statement, Ludovic Courtès, 2015/01/28
- 204/376: Install some pkgconfig files,
Ludovic Courtès <=
- 206/376: Store.so: Add dependency on libnixutil, Ludovic Courtès, 2015/01/28
- 200/376: Add some instrumentation for debugging GC leaks, Ludovic Courtès, 2015/01/28
- 210/376: Inline Bindings::find(), Ludovic Courtès, 2015/01/28
- 202/376: On Linux, disable address space randomization, Ludovic Courtès, 2015/01/28
- 205/376: Update spec file, Ludovic Courtès, 2015/01/28
- 201/376: Add Make flag to disable optimization, Ludovic Courtès, 2015/01/28
- 213/376: configure: Force regeneration of Makefile.config, Ludovic Courtès, 2015/01/28
- 212/376: attrNames: Don't allocate duplicates of the symbols, Ludovic Courtès, 2015/01/28
- 216/376: Handle cycles when printing a value, Ludovic Courtès, 2015/01/28
- 211/376: Fix off-by-one, Ludovic Courtès, 2015/01/28