wok-next diff klavaro/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 f48456621a9d
children 5669e8b3be70
line diff
     1.1 --- a/klavaro/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.2 +++ b/klavaro/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.3 @@ -3,36 +3,32 @@
     1.4  PACKAGE="klavaro"
     1.5  VERSION="1.2.2"
     1.6  CATEGORY="system-tools"
     1.7 -SHORT_DESC="Free touch typing tutor program."
     1.8 -MAINTAINER="pankso@slitaz.org"
     1.9 +SHORT_DESC="Free touch typing tutor program"
    1.10 +MAINTAINER="devel@slitaz.org"
    1.11  LICENSE="GPL3"
    1.12 +WEB_SITE="http://klavaro.sourceforge.net/en/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.15 -WEB_SITE="http://klavaro.sourceforge.net/en/"
    1.16  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.17 -TAGS="typing"
    1.18  
    1.19 -DEPENDS="gtk2 xorg-libXdamage gtkdatabox libcurl libsexy"
    1.20 -BUILD_DEPENDS="$DEPENDS gtk2-dev xorg-xorgproto gtkdatabox-dev \
    1.21 -curl-dev libsexy-dev"
    1.22 +BUILD_DEPENDS="xorg-libXdamage gtk2-dev xorg-xorgproto gtkdatabox-dev curl-dev \
    1.23 +libsexy-dev"
    1.24  
    1.25 -# Rules to configure and make the package.
    1.26 -compile_rules()
    1.27 -{
    1.28 -	cd $src
    1.29 +compile_rules() {
    1.30  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lgmodule-2.0"
    1.31  	./configure \
    1.32  		--prefix=/usr \
    1.33  		$CONFIGURE_ARGS &&
    1.34  	make &&
    1.35 -	make DESTDIR=$DESTDIR install
    1.36 +	make DESTDIR=$install install
    1.37  }
    1.38  
    1.39 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.40 -genpkg_rules()
    1.41 -{
    1.42 +genpkg_rules() {
    1.43  	mkdir -p $fs/usr/share/pixmaps
    1.44  	cp -a $install/usr/bin $fs/usr
    1.45  	cp -a $install/usr/share/klavaro $fs/usr/share
    1.46  	cp -a $install/usr/share/icons/hicolor/24x24/apps/* \
    1.47  		$fs/usr/share/pixmaps
    1.48 +	DEPENDS="gtk2 xorg-libXdamage gtkdatabox libcurl libsexy"
    1.49 +	TAGS="typing"
    1.50  }