Strip include-raw prefix for script files
[releng/builder.git] / jjb / opflex / deps-inc-v1 / include-raw-rapidjson_tgz-build.sh
diff --git a/jjb/opflex/deps-inc-v1/include-raw-rapidjson_tgz-build.sh b/jjb/opflex/deps-inc-v1/include-raw-rapidjson_tgz-build.sh
deleted file mode 100644 (file)
index 47b1fa0..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/bash
-# Build script for rapidjson
-
-set -e
-set -x
-
-ROOT=/tmp/opflex-prefix
-DESTDIR=install-root
-
-mkdir -p "$DESTDIR/$ROOT/lib/pkgconfig"
-mkdir -p "$DESTDIR/$ROOT/include"
-
-cp -R include/rapidjson "$DESTDIR/$ROOT/include"
-sed -e "s|@INCLUDE_INSTALL_DIR@|$ROOT/include|" \
-    -e "s|@PROJECT_NAME@|RapidJSON|" \
-    -e "s|@LIB_VERSION_STRING@|1.0.2|" RapidJSON.pc.in > \
-    "$DESTDIR/$ROOT/lib/pkgconfig/RapidJSON.pc"
-
-pushd $DESTDIR
-tar -czf rapidjson.tgz *