forked from lix-project/lix
Install some pkgconfig files
This commit is contained in:
parent
d64b8e9e53
commit
8be9990cdb
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -114,6 +114,7 @@ Makefile.config
|
||||||
*.so
|
*.so
|
||||||
*.dep
|
*.dep
|
||||||
*~
|
*~
|
||||||
|
*.pc
|
||||||
|
|
||||||
# GNU Global
|
# GNU Global
|
||||||
GPATH
|
GPATH
|
||||||
|
|
|
@ -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
|
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
|
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))
|
||||||
|
|
10
src/libexpr/nix-expr.pc.in
Normal file
10
src/libexpr/nix-expr.pc.in
Normal file
|
@ -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
|
|
@ -9,3 +9,5 @@ libmain_SOURCES := $(wildcard $(d)/*.cc)
|
||||||
libmain_LIBS = libstore libutil libformat
|
libmain_LIBS = libstore libutil libformat
|
||||||
|
|
||||||
libmain_ALLOW_UNDEFINED = 1
|
libmain_ALLOW_UNDEFINED = 1
|
||||||
|
|
||||||
|
$(eval $(call install-file-in, $(d)/nix-main.pc, $(libdir)/pkgconfig, 0644))
|
||||||
|
|
9
src/libmain/nix-main.pc.in
Normal file
9
src/libmain/nix-main.pc.in
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
prefix=@prefix@
|
||||||
|
libdir=@libdir@
|
||||||
|
includedir=@includedir@
|
||||||
|
|
||||||
|
Name: Nix
|
||||||
|
Description: Nix Package Manager
|
||||||
|
Version: @PACKAGE_VERSION@
|
||||||
|
Libs: -L${libdir} -lnixmain
|
||||||
|
Cflags: -I${includedir}/nix
|
|
@ -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)
|
$(trace-gen) sed -e 's/"/\\"/g' -e 's/\(.*\)/"\1\\n"/' < $< > $@ || (rm $@ && exit 1)
|
||||||
|
|
||||||
clean-files += $(d)/schema.sql.hh
|
clean-files += $(d)/schema.sql.hh
|
||||||
|
|
||||||
|
$(eval $(call install-file-in, $(d)/nix-store.pc, $(libdir)/pkgconfig, 0644))
|
||||||
|
|
9
src/libstore/nix-store.pc.in
Normal file
9
src/libstore/nix-store.pc.in
Normal 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
|
Loading…
Reference in a new issue