uchardet : added ninja backend

This commit is contained in:
Victor Tebar
2023-03-07 14:29:19 +00:00
parent e9f5fbe12a
commit 437ed35eea

View File

@@ -1,6 +1,6 @@
# description : uchardet is an encoding detector library, which takes a sequence of bytes in an unknown character encoding without any additional information, and attempts to determine the encoding of the text. Returned encoding names are iconv-compatible.
# homepage : https://www.freedesktop.org/wiki/Software/uchardet/
# depends : cmake
# depends : cmake ninja
name=uchardet
version=0.0.8
@@ -8,7 +8,7 @@ release=1
source="https://github.com/freedesktop/uchardet/archive/v$version/$name-$version.tar.gz"
build() {
cmake -S $name-$version -B build \
cmake -S $name-$version -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_LIBEXECDIR=lib \