mirror of
https://codeberg.org/kiss-community/repo
synced 2024-12-21 23:00:06 -07:00
778d8a95b4
closes #199
34 lines
633 B
Bash
Executable File
34 lines
633 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
patch -p1 < posix.patch
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--localstatedir=/var \
|
|
--bindir=/usr/bin \
|
|
--sbindir=/usr/bin \
|
|
--libdir=/usr/lib \
|
|
--enable-libuuid \
|
|
--enable-libblkid \
|
|
--enable-fsck \
|
|
--enable-chfn-chsh \
|
|
--disable-chfn-chsh-password \
|
|
--disable-liblastlog2 \
|
|
--disable-makeinstall-chown \
|
|
--disable-rpath \
|
|
--without-udev \
|
|
--without-python \
|
|
--without-systemd
|
|
|
|
make
|
|
make DESTDIR="$1" install
|
|
|
|
# Fix broken --sbindir.
|
|
mv -f "$1/usr/sbin/"* "$1/usr/bin"
|
|
rmdir "$1/usr/sbin"
|
|
|
|
rm -rf \
|
|
"$1/usr/share/doc" \
|
|
"$1/usr/share/bash-completion"
|
|
|