smlinux/base/sudo/sudo.SMBuild
PktSurf 2818c6283f Fixed documentation directory-related build options in several build files
Removed extraneous README file in extra/FEH
Discarded DEBUG=0 build flag in extra/cmus
2023-03-30 20:30:49 +05:30

40 lines
846 B
Text
Executable file

app=sudo
version=1.9.12p2
build=2sml
homepage="https://www.sudo.ws/"
download="https://www.sudo.ws/dist/sudo-$version.tar.gz"
desc="give limited root privileges to certain users"
requires="zlib"
noautoconfsite=1
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--sysconfdir=/etc \
--sbindir=/bin \
--docdir="/share/doc/$app-$version" \
--with-env-editor \
--disable-pam-session \
--without-pam \
--disable-nls
make
make install DESTDIR=$pkg
mv $pkg/etc/sudoers $pkg/etc/sudoers.new
mkfinalpkg
}
sha512sums="
27dbfbdaaefc4aef666bd205fe9386214c264c52f2133396bf8c8b7f5d2fefeab40b5a83ef80fe0cf1c1b434de4ef2aca358487f24d0663a5b7fd9e98dc3baed sudo-1.9.12p2.tar.lz
"