wok-6.x view libgksu/receipt @ rev 23896

lftp: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 26 14:28:44 2020 +0000 (2020-07-26)
parents 0dd833f88cc4
children b78e79c31b1f
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 dbus-glib-dev 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 --disable-gtk-doc \
30 $CONFIGURE_ARGS &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/etc $fs
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/libgksu $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/share/applications $fs/usr/share
42 cp -a $install/usr/share/libgksu $fs/usr/share
43 cp -a $install/usr/share/pixmaps $fs/usr/share
44 }