30 lines
730 B
Plaintext
30 lines
730 B
Plaintext
# Description: Sudo (superuser do)
|
|
# URL: http://www.sudo.ws/sudo/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: zlib
|
|
|
|
name=sudo
|
|
version=1.8.3p2
|
|
release=1
|
|
source=(http://www.sudo.ws/$name/dist/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--mandir=/usr/man \
|
|
--with-logfac=auth \
|
|
--with-timedir=/var/lib/sudo \
|
|
--without-pam \
|
|
--disable-nls
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
chmod 0755 $PKG/{var,var/lib}
|
|
rm -r $PKG/usr/share
|
|
ln -sf sudo $PKG/usr/bin/sudoedit
|
|
ln -sf sudo.8.gz $PKG/usr/man/man8/sudoedit.8
|
|
}
|