Skip to content

Commit c5d52ac

Browse files
authored
Merge pull request #1001 from hedrok/T7537-aws-glbtun-update
T7537: aws-gwlbtun: update to c1fd48b
2 parents 2f2bfb5 + 4f37776 commit c5d52ac

1 file changed

Lines changed: 19 additions & 1 deletion

File tree

scripts/package-build/aws-gwlbtun/package.toml

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,25 @@
11
[[packages]]
22
name = "aws-gwlbtun"
3-
commit_id = "f78058a"
3+
commit_id = "c1fd48b"
44
scm_url = "https://github.com/aws-samples/aws-gateway-load-balancer-tunnel-handler"
55

66

77
## Build cmd start
88
build_cmd = '''\
9+
10+
# Prepare boost headers
11+
export BOOST_INSTALL_DIR=$(pwd)/boost-headers-install
12+
if [ ! -d "$BOOST_INSTALL_DIR" ]; then
13+
wget -c https://github.com/boostorg/boost/releases/download/boost-1.88.0/boost-1.88.0-b2-nodocs.tar.xz
14+
tar -xvf boost-1.88.0-b2-nodocs.tar.xz
15+
cd boost-1.88.0
16+
# Only unordered library is needed, so only headers are required
17+
./bootstrap.sh --prefix=$BOOST_INSTALL_DIR --with-libraries=unordered
18+
./b2 headers install
19+
cd ../
20+
fi;
21+
22+
923
mkdir -p debian
1024
echo 'obj-*-linux-gnu/gwlbtun usr/sbin' > debian/install
1125
@@ -51,6 +65,10 @@ binary:
5165
5266
clean:
5367
dh clean
68+
69+
override_dh_auto_configure:
70+
dh_auto_configure -- -DBOOST_ROOT=$BOOST_INSTALL_DIR
71+
5472
EOF
5573
5674
chmod +x debian/rules

0 commit comments

Comments
 (0)