aboutsummaryrefslogtreecommitdiff
path: root/extra/graphite/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2023-03-02 13:35:53 +0100
committerCem Keylan <cem@ckyln.com>2023-03-02 13:35:53 +0100
commitc5a575e120ac5a75f43ab821112a5d15095a9e13 (patch)
treef7bcb33e91579a86b4662f643539fa817d52012d /extra/graphite/build
parent2d37015f35067d8f1bed1afcaf10d35695b3b46c (diff)
downloadrepository-c5a575e120ac5a75f43ab821112a5d15095a9e13.tar.gz
graphite: add new package at 1.3.14
Diffstat (limited to 'extra/graphite/build')
-rwxr-xr-xextra/graphite/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/graphite/build b/extra/graphite/build
new file mode 100755
index 00000000..73b2a882
--- /dev/null
+++ b/extra/graphite/build
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+export CXXFLAGS="$CXXFLAGS -static-libgcc -static-libstdc++"
+
+cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr
+
+cmake --build build
+cmake --install build