wok annotate gksu/receipt @ rev 25296
updated screenfetch (3.5.0 -> 3.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jul 19 17:51:41 2022 +0100 (2022-07-19) |
parents | 89a9d0d5d7e2 |
children |
rev | line source |
---|---|
al@21783 | 1 # SliTaz package receipt. |
al@21783 | 2 |
al@21783 | 3 PACKAGE="gksu" |
al@21783 | 4 VERSION="2.0.2" |
al@21783 | 5 CATEGORY="admin" |
al@21783 | 6 SHORT_DESC="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="gfortran intltool GConf-dev libgksu-dev gtk+-dev \ |
al@21783 | 15 startup-notification-dev libgnome-keyring-dev libgtop-dev" |
al@21783 | 16 |
al@21783 | 17 DEPENDS="atk bzlib cairo fontconfig freetype GConf gdk-pixbuf glib gtk+ \ |
al@21783 | 18 harfbuzz libffi libgio libgksu libgnome-keyring libpng libxcb libxml2 pango \ |
al@21783 | 19 pcre pixman startup-notification xorg-libX11 xorg-libXau xorg-libXdmcp \ |
al@21783 | 20 xorg-libXext xorg-libXrender zlib" |
al@21783 | 21 |
pascal@24419 | 22 # What is the latest version available today? |
pascal@24419 | 23 current_version() |
pascal@24419 | 24 { |
pascal@24419 | 25 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24419 | 26 sed "/latest/d;/$PACKAGE-[0-2]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24419 | 27 } |
pascal@24419 | 28 |
al@21783 | 29 compile_rules() { |
al@21783 | 30 patch -p1 -i $stuff/gksu.patch |
al@21783 | 31 |
al@21783 | 32 ./configure \ |
al@21783 | 33 --sysconfdir=/etc \ |
al@21783 | 34 --disable-nautilus-extension \ |
al@21783 | 35 $CONFIGURE_ARGS && |
al@21783 | 36 make && |
al@21783 | 37 make install |
al@21783 | 38 } |
al@21783 | 39 |
al@21783 | 40 genpkg_rules() { |
al@21783 | 41 mkdir -p $fs/usr/lib $fs/usr/share |
al@21783 | 42 |
al@21783 | 43 cp -a $install/usr/bin $fs/usr |
al@21783 | 44 cp -a $install/usr/share/applications $fs/usr/share |
al@21783 | 45 cp -a $install/usr/share/gksu $fs/usr/share |
al@21783 | 46 cp -a $install/usr/share/pixmaps $fs/usr/share |
al@21783 | 47 } |