wok-current annotate libgksu/receipt @ rev 25077

updated openvswitch and openvswitch-dev (2.14.0 -> 2.17.1)
author Hans-G?nter Theisgen
date Wed Jun 15 14:50:09 2022 +0100 (2022-06-15)
parents 7bee98929640
children
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 \
pascal@23046 16 dbus-glib-dev 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
pascal@24419 23 # What is the latest version available today?
pascal@24419 24 current_version()
pascal@24419 25 {
pascal@24419 26 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24419 27 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24419 28 }
pascal@24419 29
al@21783 30 compile_rules() {
al@21783 31 patch -p1 -i $stuff/libgksu.patch
al@21783 32
pascal@22172 33 export LDFLAGS="$LDFLAGS -lxcb-util"
al@21783 34 ./configure \
al@21783 35 --sysconfdir=/etc \
pascal@23046 36 --disable-gtk-doc \
al@21783 37 $CONFIGURE_ARGS &&
al@21783 38 make &&
al@21783 39 make install
al@21783 40 }
al@21783 41
al@21783 42 genpkg_rules() {
al@21783 43 mkdir -p $fs/usr/lib $fs/usr/share
al@21783 44 cp -a $install/etc $fs
al@21783 45 cp -a $install/usr/bin $fs/usr
al@21783 46 cp -a $install/usr/lib/libgksu $fs/usr/lib
al@21783 47 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@21783 48 cp -a $install/usr/share/applications $fs/usr/share
al@21783 49 cp -a $install/usr/share/libgksu $fs/usr/share
al@21783 50 cp -a $install/usr/share/pixmaps $fs/usr/share
al@21783 51 }