wok view libgksu/receipt @ rev 22172

exo, libgksu, libwnck3: link with libxcb-util
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 08 12:19:12 2019 +0100 (4 weeks ago)
parents 89a9d0d5d7e2
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libgksu"
4 VERSION="2.0.12"
5 CATEGORY="admin"
6 SHORT_DESC="Library that provides 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="cairo gtk+-dev GConf-dev startup-notification-dev \
15 libgnome-keyring-dev libgtop-dev intltool xcb-util-dev dbus-dev libgcrypt-dev \
16 gtk-doc libxslt docbook-xsl"
18 DEPENDS="atk bzlib cairo fontconfig freetype GConf gdk-pixbuf glib gtk+ \
19 harfbuzz libffi libgio libgnome-keyring libgtop libpng libxcb libxml2 ORBit2 \
20 pango pcre pixman startup-notification xorg-libX11 xorg-libXau xorg-libXdmcp \
21 xorg-libXext xorg-libXrender zlib"
23 compile_rules() {
24 patch -p1 -i $stuff/libgksu.patch
26 export LDFLAGS="$LDFLAGS -lxcb-util"
27 ./configure \
28 --sysconfdir=/etc \
29 $CONFIGURE_ARGS &&
30 make &&
31 make install
32 }
34 genpkg_rules() {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/etc $fs
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib/libgksu $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/share/applications $fs/usr/share
41 cp -a $install/usr/share/libgksu $fs/usr/share
42 cp -a $install/usr/share/pixmaps $fs/usr/share
43 }