wok-6.x view gksu/receipt @ rev 24990
idesk: imlib2 >= 1.7.5 support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 13 20:03:04 2022 +0000 (2022-05-13) |
parents | 89a9d0d5d7e2 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gksu"
4 VERSION="2.0.2"
5 CATEGORY="admin"
6 SHORT_DESC="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="gfortran intltool GConf-dev libgksu-dev gtk+-dev \
15 startup-notification-dev libgnome-keyring-dev libgtop-dev"
17 DEPENDS="atk bzlib cairo fontconfig freetype GConf gdk-pixbuf glib gtk+ \
18 harfbuzz libffi libgio libgksu libgnome-keyring libpng libxcb libxml2 pango \
19 pcre pixman startup-notification xorg-libX11 xorg-libXau xorg-libXdmcp \
20 xorg-libXext xorg-libXrender zlib"
22 # What is the latest version available today?
23 current_version()
24 {
25 wget -O - ${WGET_URL%/*} 2>/dev/null | \
26 sed "/latest/d;/$PACKAGE-[0-2]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
27 }
29 compile_rules() {
30 patch -p1 -i $stuff/gksu.patch
32 ./configure \
33 --sysconfdir=/etc \
34 --disable-nautilus-extension \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 genpkg_rules() {
41 mkdir -p $fs/usr/lib $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/applications $fs/usr/share
45 cp -a $install/usr/share/gksu $fs/usr/share
46 cp -a $install/usr/share/pixmaps $fs/usr/share
47 }