2
0
mirror of https://codeberg.org/kiss-community/repo synced 2025-01-11 05:10:07 -07:00
repo/extra/lvm2/build

17 lines
305 B
Plaintext
Raw Normal View History

2019-06-22 23:43:05 -06:00
#!/bin/sh -e
2019-06-22 23:51:58 -06:00
patch -p1 < portability.patch
2019-06-22 23:56:28 -06:00
patch -p1 < fix-stdio-usage.patch
2019-06-22 23:51:58 -06:00
2019-06-22 23:43:05 -06:00
./configure \
--prefix=/usr \
--disable-selinux
make
make DESTDIR="$1" install
2019-08-29 05:10:35 -06:00
# Make all libraries and binaries writable.
chmod -v u+w "$1/usr/lib/"* \
"$1/usr/include/"* \
"$1/usr/sbin/"*