summaryrefslogtreecommitdiff
path: root/etc/hstdp-2018.3a/tasks/002-packages.sh
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2018-12-06 01:26:19 -0500
committerJoseph Hunkeler <jhunkeler@gmail.com>2018-12-06 01:26:19 -0500
commitb66c4e1b676da43ad771ec06d4d54f274f038626 (patch)
tree1be737088c445d10bc2272ee4440371e56d75312 /etc/hstdp-2018.3a/tasks/002-packages.sh
parent2119eeef5d80ae1c14fdd1c45a9d81908ce14e3d (diff)
downloaddocker-pipeline-b66c4e1b676da43ad771ec06d4d54f274f038626.tar.gz
Change build order
Diffstat (limited to 'etc/hstdp-2018.3a/tasks/002-packages.sh')
-rwxr-xr-xetc/hstdp-2018.3a/tasks/002-packages.sh43
1 files changed, 0 insertions, 43 deletions
diff --git a/etc/hstdp-2018.3a/tasks/002-packages.sh b/etc/hstdp-2018.3a/tasks/002-packages.sh
deleted file mode 100755
index e948120..0000000
--- a/etc/hstdp-2018.3a/tasks/002-packages.sh
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/bin/bash
-set -e
-set -x
-
-prefix="${TOOLCHAIN}"
-sysconfdir="${TOOLCHAIN_BUILD}/etc/${PIPELINE}"
-reqdir=${sysconfdir}/pkgs
-blddir=builds
-
-export PATH="${prefix}/bin:${PATH}"
-export CFLAGS="-I${prefix}/include"
-export LDFLAGS="-L${prefix}/lib -Wl,-rpath=${prefix}/lib"
-export PREFIX="${prefix}"
-
-function pre()
-{
- if [[ ! -d ${reqdir} ]]; then
- # Nothing there, but maybe that's on purpose.
- exit 0
- fi
- mkdir -p "${blddir}"
- pushd ${blddir} &>/dev/null
-}
-
-function build()
-{
- pre
- # Iterate over binary package build scripts
- for req in ${reqdir}/*
- do
- chmod +x "${req}"
- "${req}"
- done
- post
-}
-
-function post()
-{
- popd &>/dev/null
- [[ -d ${blddir} ]] && rm -rf "${blddir}"
-}
-
-build