utf8proc: install pkg-config file (#96087)
This commit is contained in:
parent
9ed4ff16ac
commit
7daac92767
@ -17,6 +17,12 @@ stdenv.mkDerivation rec {
|
|||||||
"-DBUILD_SHARED_LIBS=ON"
|
"-DBUILD_SHARED_LIBS=ON"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# the pkg-config file is not created in the cmake installation
|
||||||
|
# process, so we use the Makefile and install it manually
|
||||||
|
# see https://github.com/JuliaStrings/utf8proc/issues/198
|
||||||
|
preConfigure = "make libutf8proc.pc prefix=$out";
|
||||||
|
postInstall = "install -Dm644 ../libutf8proc.pc -t $out/lib/pkgconfig/";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A clean C library for processing UTF-8 Unicode data";
|
description = "A clean C library for processing UTF-8 Unicode data";
|
||||||
homepage = "https://juliastrings.github.io/utf8proc/";
|
homepage = "https://juliastrings.github.io/utf8proc/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user