wok-next diff lxinput/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents a3c581bf52b8
children d5aab818505e
line diff
     1.1 --- a/lxinput/receipt	Fri Aug 10 12:53:17 2018 +0300
     1.2 +++ b/lxinput/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="lxinput"
     1.8  VERSION="0.3.5"
     1.9 @@ -7,17 +7,14 @@
    1.10  MAINTAINER="pankso@slitaz.org"
    1.11  LICENSE="GPL3"
    1.12  WEB_SITE="https://lxde.org/"
    1.13 +LFS="http://www.linuxfromscratch.org/blfs/view/svn/lxde/lxinput.html"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.16  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    1.17  
    1.18 -BUILD_DEPENDS="intltool gtk+-dev"
    1.19 +BUILD_DEPENDS="intltool gtk2-dev"
    1.20  
    1.21 -# Rules to configure and make the package.
    1.22 -compile_rules()
    1.23 -{
    1.24 -	# http://www.linuxfromscratch.org/blfs/view/stable/lxde/lxinput.html
    1.25 -
    1.26 +compile_rules() {
    1.27  	sed -i 's|^Icon=.*$|Icon=preferences-desktop-keyboard|' \
    1.28  		data/lxinput.desktop.in
    1.29  
    1.30 @@ -26,12 +23,10 @@
    1.31  	make && make install
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 +genpkg_rules() {
    1.38  	# skip icons (found in the icon theme)
    1.39  	copy bin/ *.ui
    1.40 -	DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ pango \
    1.41 +	DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk2 pango \
    1.42  	xorg-libX11   xorg-xset"
    1.43  	TAGS="LXDE keyboard mouse"
    1.44  }