wok-current annotate 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 (2019-11-08)
parents 89a9d0d5d7e2
children 7bee98929640
rev   line source
al@21783 1 # SliTaz package receipt.
al@21783 2
al@21783 3 PACKAGE="libgksu"
al@21783 4 VERSION="2.0.12"
al@21783 5 CATEGORY="admin"
al@21783 6 SHORT_DESC="Library that provides a GTK+ frontend to su and sudo"
al@21783 7 MAINTAINER="devel@slitaz.org"
al@21783 8 LICENSE="GPL2"
al@21783 9 WEB_SITE="https://www.nongnu.org/gksu/"
al@21783 10
al@21783 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@21783 12 WGET_URL="https://people.debian.org/~kov/gksu/$TARBALL"
al@21783 13
al@21783 14 BUILD_DEPENDS="cairo gtk+-dev GConf-dev startup-notification-dev \
al@21783 15 libgnome-keyring-dev libgtop-dev intltool xcb-util-dev dbus-dev libgcrypt-dev \
al@21783 16 gtk-doc libxslt docbook-xsl"
al@21783 17
al@21783 18 DEPENDS="atk bzlib cairo fontconfig freetype GConf gdk-pixbuf glib gtk+ \
al@21783 19 harfbuzz libffi libgio libgnome-keyring libgtop libpng libxcb libxml2 ORBit2 \
al@21783 20 pango pcre pixman startup-notification xorg-libX11 xorg-libXau xorg-libXdmcp \
al@21783 21 xorg-libXext xorg-libXrender zlib"
al@21783 22
al@21783 23 compile_rules() {
al@21783 24 patch -p1 -i $stuff/libgksu.patch
al@21783 25
pascal@22172 26 export LDFLAGS="$LDFLAGS -lxcb-util"
al@21783 27 ./configure \
al@21783 28 --sysconfdir=/etc \
al@21783 29 $CONFIGURE_ARGS &&
al@21783 30 make &&
al@21783 31 make install
al@21783 32 }
al@21783 33
al@21783 34 genpkg_rules() {
al@21783 35 mkdir -p $fs/usr/lib $fs/usr/share
al@21783 36 cp -a $install/etc $fs
al@21783 37 cp -a $install/usr/bin $fs/usr
al@21783 38 cp -a $install/usr/lib/libgksu $fs/usr/lib
al@21783 39 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@21783 40 cp -a $install/usr/share/applications $fs/usr/share
al@21783 41 cp -a $install/usr/share/libgksu $fs/usr/share
al@21783 42 cp -a $install/usr/share/pixmaps $fs/usr/share
al@21783 43 }