From 8be9990cdb1ce35e1138c9ed477ecfd93ca7f184 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 18 Sep 2014 12:00:40 +0200 Subject: Install some pkgconfig files --- src/libmain/local.mk | 2 ++ src/libmain/nix-main.pc.in | 9 +++++++++ 2 files changed, 11 insertions(+) create mode 100644 src/libmain/nix-main.pc.in (limited to 'src/libmain') diff --git a/src/libmain/local.mk b/src/libmain/local.mk index 71a07d197..4b6a4767e 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 000000000..de1bdf706 --- /dev/null +++ b/src/libmain/nix-main.pc.in @@ -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 -- cgit v1.2.3