aboutsummaryrefslogtreecommitdiff
path: root/extra/libutf8proc/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libutf8proc/build')
-rwxr-xr-xextra/libutf8proc/build12
1 files changed, 3 insertions, 9 deletions
diff --git a/extra/libutf8proc/build b/extra/libutf8proc/build
index c40173ef..4fb89fb1 100755
--- a/extra/libutf8proc/build
+++ b/extra/libutf8proc/build
@@ -1,13 +1,7 @@
#!/bin/sh -e
-export DESTDIR="$1"
-
-cmake -B output \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DBUILD_SHARED_LIBS=OFF \
- -Wno-dev
-
-cmake --build output
-cmake --install output
+make libutf8proc.a
+clinst -Dm644 libutf8proc.a "$1/usr/lib/libutf8proc.a"
+clinst -Dm644 utf8proc.h "$1/usr/include/utf8proc.h"
clinst -Dm644 -s "s,@VERSION@,$2,g" libutf8proc.pc.in "$1/usr/lib/pkgconfig/libutf8proc.pc"