CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
grep: updated to 3.1
[crossrootfs.git] / sudo / Pkgfile
1 # Description: Sudo (superuser do)
2 # URL: http://www.sudo.ws/sudo/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
5 # Depends on: zlib
6
7 name=sudo
8 version=1.8.19p2
9 release=1
10 source=(http://www.sudo.ws/$name/dist/$name-$version.tar.gz)
11
12 build() {
13 cd $name-$version
14
15 ./configure --build=$CHOST \
16 --host=$CTARGET \
17 --prefix=/usr \
18 --libexecdir=/usr/lib \
19 --with-logfac=auth \
20 --with-vardir=/var/lib/sudo \
21 --with-rundir=/var/run/sudo \
22 --without-pam \
23 --disable-nls
24
25 make
26 make DESTDIR=$PKG install
27
28 rm -r $PKG/usr/share/doc
29 }