mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
uchardet : added ninja backend
This commit is contained in:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user