wok view libgksu/receipt @ rev 24776
jack1: added build dependency gcc83
author | Hans-G?nter Theisgen |
---|---|
date | Sat Mar 19 17:48:51 2022 +0100 (2022-03-19) |
parents | 7bee98929640 |
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 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 # What is the latest version available today?
24 current_version()
25 {
26 wget -O - ${WGET_URL%/*} 2>/dev/null | \
27 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
28 }
30 compile_rules() {
31 patch -p1 -i $stuff/libgksu.patch
33 export LDFLAGS="$LDFLAGS -lxcb-util"
34 ./configure \
35 --sysconfdir=/etc \
36 --disable-gtk-doc \
37 $CONFIGURE_ARGS &&
38 make &&
39 make install
40 }
42 genpkg_rules() {
43 mkdir -p $fs/usr/lib $fs/usr/share
44 cp -a $install/etc $fs
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/libgksu $fs/usr/lib
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/share/applications $fs/usr/share
49 cp -a $install/usr/share/libgksu $fs/usr/share
50 cp -a $install/usr/share/pixmaps $fs/usr/share
51 }