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
9 source=(http://www.sudo.ws/$name/dist/$name-$version.tar.gz)
13 sudo_cv_uid_t_len=10 ./configure --build=$CHOST \
16 --libexecdir=/usr/lib \
20 --with-timedir=/var/lib/sudo
22 sed -i -e "s|STRIP=strip|STRIP=`echo $STRIP`|g" \
23 -e "s|STRIP=\${d}/strip|STRIP=`echo $STRIP`|g" install-sh
24 make DESTDIR=$PKG install
26 chmod 0755 $PKG/{var,var/lib}
28 ln -sf sudo $PKG/usr/bin/sudoedit
29 ln -sf sudo.8.gz $PKG/usr/man/man8/sudoedit.8