wok-next view sudo/receipt @ rev 20030

Up flam3 (3.1.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 22 15:52:59 2017 +0200 (2017-10-22)
parents 58556ca016f4
children 2ec88e5df2dd
line source
1 # SliTaz package receipt v2.
3 PACKAGE="sudo"
4 VERSION="1.8.20p2"
5 CATEGORY="security"
6 SHORT_DESC="Execute a command as another user"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="https://www.sudo.ws/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}dist/$TARBALL"
14 BUILD_DEPENDS="gettext groff"
15 SPLIT="sudo-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --sysconfdir=/etc \
22 --libexecdir=/usr/lib \
23 --with-secure-path \
24 --with-all-insults \
25 --with-env-editor \
26 --docdir=/usr/share/doc/sudo-$VERSION \
27 --with-passprompt="[sudo] password for %p" \
28 --without-pam \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install &&
33 ln -sfv libsudo_util.so.0.0.0 $install/usr/lib/sudo/libsudo_util.so.0
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 case $PACKAGE in
40 sudo)
41 copy @std
42 DEPENDS="zlib"
43 CONFIG_FILES="/etc/sudoers"
44 ;;
45 *-dev)
46 copy @dev
47 DEPENDS="zlib-dev"
48 ;;
49 esac
50 }