forked from kiss-community/repo
24 lines
440 B
Bash
Executable File
24 lines
440 B
Bash
Executable File
#!/bin/sh -e
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--disable-pam-session \
|
|
--disable-root-mailer \
|
|
--enable-pie \
|
|
--without-pam \
|
|
--without-sendmail \
|
|
--with-ignore-dot \
|
|
--with-insults=disabled \
|
|
--with-logfac=auth \
|
|
--with-passprompt="[sudo] password for %p: "
|
|
|
|
make
|
|
make \
|
|
DESTDIR="$1" \
|
|
install_uid="$(id -u)" \
|
|
install_gid="$(id -g)" \
|
|
install
|
|
|
|
# Remove docs.
|
|
rm -rf "$1/usr/share/doc"
|