aboutsummaryrefslogtreecommitdiff
path: root/extra/openjpeg2/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-05-17 10:14:01 +0300
committerCem Keylan <cem@ckyln.com>2021-05-17 10:14:01 +0300
commit013482352c7cf31123207ff2513f700af0c995e7 (patch)
treee7657dec34d31089216c6dab12b05f9d53654d11 /extra/openjpeg2/build
parentfe50c7cf3a645689d907a6705c99d827e82bf23d (diff)
downloadrepository-013482352c7cf31123207ff2513f700af0c995e7.tar.gz
openjpeg2: add new package at 2.4.0
Diffstat (limited to 'extra/openjpeg2/build')
-rwxr-xr-xextra/openjpeg2/build12
1 files changed, 12 insertions, 0 deletions
diff --git a/extra/openjpeg2/build b/extra/openjpeg2/build
new file mode 100755
index 00000000..5332ac49
--- /dev/null
+++ b/extra/openjpeg2/build
@@ -0,0 +1,12 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=Release
+
+cmake --build build
+cmake --install build