aboutsummaryrefslogtreecommitdiff
path: root/extra/brotli/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2023-09-27 16:01:03 +0200
committerCem Keylan <cem@ckyln.com>2023-09-27 16:01:03 +0200
commit8f00322cb848a4b479e9d58f8b428857e66ed1aa (patch)
treeabb869081f0e6d79d4cef7a2cc3fd664ef4383c0 /extra/brotli/build
parent545896e4103f7611806e299c0445260e19f75ec3 (diff)
downloadrepository-8f00322cb848a4b479e9d58f8b428857e66ed1aa.tar.gz
brotli: add new package at 1.1.0
Diffstat (limited to 'extra/brotli/build')
-rwxr-xr-xextra/brotli/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/brotli/build b/extra/brotli/build
new file mode 100755
index 00000000..d44a1f51
--- /dev/null
+++ b/extra/brotli/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -B build \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True
+
+cmake --build build
+cmake --install build