kiss-mfavila-small/community-mod/stable/procps-ng/build

15 lines
279 B
Plaintext
Raw Normal View History

#!/bin/sh -e
./configure \
--prefix=/usr \
--sbindir=/usr/bin
# Fix includes for w.c
sed -i 's|HAVE_UTMPX_H|NO|g' w.c
# Fix includes for proc/escape.c
sed -i '/\#endif/a #include <langinfo.h>' proc/escape.c
make CCLD="${CC:-cc} -all-static"
make DESTDIR="$1" install