smlinux/base/sudo/sudo.SMBuild

39 lines
No EOL
784 B
Text
Executable file

app=sudo
version=1.9.0
build=1sml
homepage="https://www.sudo.ws/"
download="https://www.sudo.ws/dist/sudo-1.9.0.tar.gz"
desc="give limited root privileges to certain users"
requires="zlib"
noautoconfsite=1
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
./configure \
--prefix="" \
--sysconfdir=/etc \
--sbindir=/bin \
--libexecdir=/lib \
--with-env-editor \
--disable-pam-session \
--without-pam \
--disable-nls
make
make install DESTDIR=$pkg
cp doc/LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
9142a86662151b9b598dfe7379990226f8b735343ac93341f6c152eb210dbc82d744041b86f231618cb2166924d4aace76391a186ad632041093b3809651e4dc sudo-1.9.0.tar.lz
"