2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-24 08:20:05 -07:00
repo/extra/libudev-zero/build
2023-03-05 17:34:06 -06:00

13 lines
255 B
Bash
Executable File

#!/bin/sh -ef
make PREFIX=/usr
make PREFIX=/usr DESTDIR="$1" install
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