summaryrefslogtreecommitdiffstats
path: root/sudo/Pkgfile
blob: 22289b17b5208223fcfb7cb584493a75cd568157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
description="Sudo (superuser do)."
packager="CRUX System Team <core-ports AT crux DOT nu>"
maintainer="Lukc <lukc AT upyum DOT com>"
url="http://www.sudo.ws/sudo/"
depends=()

name=sudo
version=1.7.4p4
release=1
source=(http://www.sudo.ws/sudo/dist/$name-$version.tar.gz)
build () 
{ 
	cd $name-$version;
	./configure \
		--prefix=$prefix \
		--libexecdir=$libdir \
		--mandir=$mandir \
		--with-logfac=auth \
		--with-timedir=/var/lib/sudo \
		--without-pam;
	make;
	make DESTDIR=$PKG install;
	chmod 0755 $PKG/{var,var/lib};
	ln -sf sudo $PKG$bindir/sudoedit;
	ln -sf sudo.8.gz $PKG$mandir/man8/sudoedit.8
}