wok view gksu/receipt @ rev 21783

Add gksu
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Jul 17 22:18:59 2019 +0300 (10 months ago)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gksu"
4 VERSION="2.0.2"
5 CATEGORY="admin"
6 SHORT_DESC="A GTK+ frontend to su and sudo"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.nongnu.org/gksu/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://people.debian.org/~kov/gksu/$TARBALL"
14 BUILD_DEPENDS="gfortran intltool GConf-dev libgksu-dev gtk+-dev \
15 startup-notification-dev libgnome-keyring-dev libgtop-dev"
17 DEPENDS="atk bzlib cairo fontconfig freetype GConf gdk-pixbuf glib gtk+ \
18 harfbuzz libffi libgio libgksu libgnome-keyring libpng libxcb libxml2 pango \
19 pcre pixman startup-notification xorg-libX11 xorg-libXau xorg-libXdmcp \
20 xorg-libXext xorg-libXrender zlib"
22 compile_rules() {
23 patch -p1 -i $stuff/gksu.patch
25 ./configure \
26 --sysconfdir=/etc \
27 --disable-nautilus-extension \
28 $CONFIGURE_ARGS &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/applications $fs/usr/share
38 cp -a $install/usr/share/gksu $fs/usr/share
39 cp -a $install/usr/share/pixmaps $fs/usr/share
40 }