wok-6.x diff gksu/receipt @ rev 23806

linld: add isoboot
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 24 16:16:52 2020 +0000 (2020-05-24)
parents
children b78e79c31b1f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gksu/receipt	Sun May 24 16:16:52 2020 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="gksu"
     1.7 +VERSION="2.0.2"
     1.8 +CATEGORY="admin"
     1.9 +SHORT_DESC="A GTK+ frontend to su and sudo"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +WEB_SITE="https://www.nongnu.org/gksu/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="https://people.debian.org/~kov/gksu/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="gfortran intltool GConf-dev libgksu-dev gtk+-dev \
    1.18 +startup-notification-dev libgnome-keyring-dev libgtop-dev"
    1.19 +
    1.20 +DEPENDS="atk bzlib cairo fontconfig freetype GConf gdk-pixbuf glib gtk+ \
    1.21 +harfbuzz libffi libgio libgksu libgnome-keyring libpng libxcb libxml2 pango \
    1.22 +pcre pixman startup-notification xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.23 +xorg-libXext xorg-libXrender zlib"
    1.24 +
    1.25 +compile_rules() {
    1.26 +	patch -p1 -i $stuff/gksu.patch
    1.27 +
    1.28 +	./configure \
    1.29 +		--sysconfdir=/etc \
    1.30 +		--disable-nautilus-extension \
    1.31 +		$CONFIGURE_ARGS &&
    1.32 +	make &&
    1.33 +	make install
    1.34 +}
    1.35 +
    1.36 +genpkg_rules() {
    1.37 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.38 +
    1.39 +	cp -a $install/usr/bin                $fs/usr
    1.40 +	cp -a $install/usr/share/applications $fs/usr/share
    1.41 +	cp -a $install/usr/share/gksu         $fs/usr/share
    1.42 +	cp -a $install/usr/share/pixmaps      $fs/usr/share
    1.43 +}