blob: 0cba1a3752e36c1157d891622dd5229f186f9a35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#!/bin/bash
set -ex
${MAKE_CMD:-make} LDFLAGS="-all-static"
${MAKE_CMD:-make} DESTDIR="${PWD}/root" install
install -m 644 ../LICENSE root/LICENSE
echo "${PV}" > root/VERSION
pushd root > /dev/null
tar -cvJf "../${PN}-${TARGET}-amd64-${PV}.tar.xz" *
popd > /dev/null
|