wok-next diff svkbd/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents c4e53a39395a
children d457c4e37c1b
line diff
     1.1 --- a/svkbd/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/svkbd/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -5,7 +5,7 @@
     1.4  VERSION="${GITHASH:0:7}"
     1.5  CATEGORY="x-window"
     1.6  SHORT_DESC="Simple virtual keyboard that suck less"
     1.7 -MAINTAINER="pankso@slitaz.org"
     1.8 +MAINTAINER="devel@slitaz.org"
     1.9  LICENSE="BSD"
    1.10  WEB_SITE="http://tools.suckless.org/x/svkbd"
    1.11  COOKOPTS="!menus"
    1.12 @@ -14,23 +14,19 @@
    1.13  WGET_URL="http://git.suckless.org/svkbd/snapshot/svkbd-$GITHASH.tar.bz2"
    1.14  
    1.15  BUILD_DEPENDS="xorg-libX11-dev xorg-libXtst-dev"
    1.16 -SPLIT="svkbd-de svkbd-fr svkbd-ru"
    1.17 +SPLIT="$PACKAGE-de $PACKAGE-fr $PACKAGE-ru"
    1.18  
    1.19 -# Rules to configure and make the package.
    1.20 -compile_rules()
    1.21 -{
    1.22 +compile_rules() {
    1.23  	cp -d $stuff/*.h .
    1.24  	for layout in de en ru fr; do
    1.25  		make svkbd-$layout CC=$HOST_SYSTEM-gcc || return 1
    1.26  	done
    1.27  	# We may need to sed config.def.h to set correct font for RU ???
    1.28  	#make svkbd-ru CC=${HOST_SYSTEM}-gcc
    1.29 -	make install DESTDIR=$DESTDIR PREFIX="/usr"
    1.30 +	make DESTDIR=$install PREFIX="/usr" install
    1.31  }
    1.32  
    1.33 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 -genpkg_rules()
    1.35 -{
    1.36 +genpkg_rules() {
    1.37  	case $PACKAGE in
    1.38  		svkbd)    copy svkbd-en*;;
    1.39  		svkbd-de) copy svkbd-de*; CAT="x-window|DE Layout";;