blob: 42fd33fbb98a6a098929d28d1e0a124f8de0ae75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
set -ex
export LC_ALL=
${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
|