wok-next diff xruskb/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 8e1b2a143eb3
children 5669e8b3be70
line diff
     1.1 --- a/xruskb/receipt	Sat Sep 01 16:21:51 2018 +0300
     1.2 +++ b/xruskb/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -1,34 +1,28 @@
     1.4 -# SliTaz package receipt
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="xruskb"
     1.8  VERSION="1.15.4"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Keyboard switcher for russian/czech"
    1.11 -MAINTAINER="pankso@slitaz.org"
    1.12 +SHORT_DESC="Keyboard switcher for Russian/Czech"
    1.13 +MAINTAINER="devel@slitaz.org"
    1.14  LICENSE="GPL2"
    1.15 +WEB_SITE="https://github.com/lavv17/xruskb"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18 -WEB_SITE="https://github.com/lavv17/xruskb"
    1.19  WGET_URL="http://ftp.yars.free.net/pub/source/xruskb/$TARBALL"
    1.20  
    1.21 -DEPENDS="lesstif freetype xorg-libXp xorg-libXmu"
    1.22  BUILD_DEPENDS="xorg-libXp-dev xorg-libXmu-dev lesstif-dev"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{	
    1.27 -	cd $src
    1.28 +compile_rules() {
    1.29  	./configure \
    1.30  		--prefix=/usr \
    1.31  		--mandir=/usr/share/man \
    1.32  		$CONFIGURE_ARGS &&
    1.33  	make &&
    1.34 -	make DESTDIR=$DESTDIR install
    1.35 +	make DESTDIR=$install install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	mkdir -p $fs/usr/share
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 -	cp -a $install/usr/share/$PACKAGE $fs/usr/share	
    1.44 +genpkg_rules() {
    1.45 +	copy @std
    1.46 +	DEPENDS="lesstif freetype xorg-libXp xorg-libXmu"
    1.47  }