Merge pull request #116146 from Emantor/pkgconfig/iniparser
iniparser: add pkgconfig file
This commit is contained in:
commit
2721f407e5
@ -36,6 +36,9 @@ stdenv.mkDerivation rec {
|
||||
cp libiniparser.a $out/lib
|
||||
cp libiniparser.so.1 $out/lib
|
||||
ln -s libiniparser.so.1 $out/lib/libiniparser.so
|
||||
|
||||
mkdir -p $out/lib/pkgconfig
|
||||
substituteAll ${./iniparser.pc.in} $out/lib/pkgconfig/iniparser.pc
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
12
pkgs/development/libraries/iniparser/iniparser.pc.in
Normal file
12
pkgs/development/libraries/iniparser/iniparser.pc.in
Normal file
@ -0,0 +1,12 @@
|
||||
prefix=@out@
|
||||
exec_prefix=@out@
|
||||
libdir=${exec_prefix}/lib
|
||||
includedir=${prefix}/include
|
||||
datarootdir=${prefix}/share
|
||||
datadir=${datarootdir}
|
||||
|
||||
Name: libiniparser
|
||||
Description: Iniparser library
|
||||
Version: @version@
|
||||
Libs: -L${libdir} -liniparser
|
||||
Cflags: -I${includedir}
|
Loading…
Reference in New Issue
Block a user