repo/extra/libudev-zero/build

13 lines
255 B
Plaintext
Raw Normal View History

2021-08-28 21:58:28 -06:00
#!/bin/sh -ef
2020-07-22 00:18:58 -06:00
2020-09-14 23:45:56 -06:00
make PREFIX=/usr
2023-03-02 07:40:00 -07:00
make PREFIX=/usr DESTDIR="$1" install
2021-08-28 21:58:28 -06:00
mkdir -p "$1/usr/bin"
# Intentional, globbing disabled.
# shellcheck disable=2086
"$CC" -static $LDFLAGS $CFLAGS $CPPFLAGS \
-o "$1/usr/bin/libudev-zero-helper" contrib/helper.c