forked from jsk-ros-pkg/jsk_robot
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[jsk_unitree_startup/cross] Install tcl
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
jsk_unitree_robot/cross/ros1_dependencies_build_scripts/1038-tcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/bash | ||
set -xeu -o pipefail | ||
|
||
DEBIAN_DIR=/home/user/ros1_dependencies_sources/src/tcl/debian/debian | ||
SOURCE_DIR=/home/user/ros1_dependencies_sources/src/tcl/tcl8.5.19/unix | ||
|
||
# | ||
# constantly does not have patches | ||
# | ||
cd ${DEBIAN_DIR}/patches | ||
for patch_file in $(grep -v ^# series); do | ||
OUT="$(patch -p1 --forward --directory ${SOURCE_DIR} < ${patch_file} | tee /dev/tty)" || echo "${OUT}" | grep "Skipping patch" -q || (echo "$OUT" && false) || echo "OK" | ||
done | ||
cd ${SOURCE_DIR} | ||
./configure --prefix=/opt/jsk/${INSTALL_ROOT}/ros1_dependencies | ||
make install |