wok-next annotate sudo/receipt @ rev 20095

Update/add packages needed for building MATE desktop:
Add: gnome-keyring3, gtkmm3, libappindicator-gtk[23], libfakekey, libgnome-keyring3, libindicator-gtk[23], libpeas.
Update: atkmm, cairomm, gcr, glibmm, gssdp, gupnp, icon-naming-utils, libcap-ng, libspectre, libwnck3, libxklavier, pangomm, perl-xml-sax.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Oct 28 16:45:22 2017 +0300 (2017-10-28)
parents 58556ca016f4
children 2ec88e5df2dd
rev   line source
al@19741 1 # SliTaz package receipt v2.
erjo@151 2
erjo@151 3 PACKAGE="sudo"
al@19741 4 VERSION="1.8.20p2"
pankso@209 5 CATEGORY="security"
al@19741 6 SHORT_DESC="Execute a command as another user"
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15593 8 LICENSE="ISC"
al@19741 9 WEB_SITE="https://www.sudo.ws/"
erjo@2631 10
al@19670 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19741 12 WGET_URL="${WEB_SITE}dist/$TARBALL"
al@19670 13
al@19741 14 BUILD_DEPENDS="gettext groff"
al@19741 15 SPLIT="sudo-dev"
al@19668 16
erjo@151 17 # Rules to configure and make the package.
erjo@151 18 compile_rules()
erjo@151 19 {
al@19670 20 ./configure \
al@19670 21 --sysconfdir=/etc \
al@19741 22 --libexecdir=/usr/lib \
al@19741 23 --with-secure-path \
al@19741 24 --with-all-insults \
al@19741 25 --with-env-editor \
al@19741 26 --docdir=/usr/share/doc/sudo-$VERSION \
al@19741 27 --with-passprompt="[sudo] password for %p" \
al@19670 28 --without-pam \
al@19670 29 $CONFIGURE_ARGS &&
pascal@1476 30 make &&
al@19741 31 make install &&
al@19741 32
al@19741 33 ln -sfv libsudo_util.so.0.0.0 $install/usr/lib/sudo/libsudo_util.so.0
erjo@151 34 }
erjo@151 35
erjo@151 36 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@151 37 genpkg_rules()
erjo@151 38 {
al@19741 39 case $PACKAGE in
al@19741 40 sudo)
al@19741 41 copy @std
al@19741 42 DEPENDS="zlib"
al@19741 43 CONFIG_FILES="/etc/sudoers"
al@19741 44 ;;
al@19741 45 *-dev)
al@19741 46 copy @dev
al@19741 47 DEPENDS="zlib-dev"
al@19741 48 ;;
al@19741 49 esac
erjo@151 50 }