wok-next view sudo/receipt @ rev 19819
gstreamer0: update for the new bison version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 29 12:09:11 2017 +0200 (2017-07-29) |
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 }