wok-next diff screentest/receipt @ rev 20604

More fix libtool.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Apr 19 13:15:41 2018 +0300 (2018-04-19)
parents d43bf7aae921
children f48456621a9d
line diff
     1.1 --- a/screentest/receipt	Wed Mar 21 15:58:17 2018 +0200
     1.2 +++ b/screentest/receipt	Thu Apr 19 13:15:41 2018 +0300
     1.3 @@ -1,31 +1,30 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="screentest"
     1.8  VERSION="2.0"
     1.9  CATEGORY="misc"
    1.10 -SHORT_DESC="A CRT and LCD screen testing utility."
    1.11 +SHORT_DESC="A CRT and LCD screen testing utility"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://tobix.github.io/screentest/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://tobix.github.io/screentest/"
    1.18  WGET_URL="https://github.com/TobiX/screentest/archive/$VERSION.tar.gz"
    1.19 -TAGS="test diagnostic screen"
    1.20  
    1.21 -DEPENDS="gtk+ libglade"
    1.22  BUILD_DEPENDS="gtk+-dev libglade-dev automake autoconf libtool"
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 +compile_rules() {
    1.28  	sed -i 's/prune , -name/prune -or -name/' autogen.sh
    1.29  	./autogen.sh
    1.30 -	./configure --prefix=/usr $CONFIGURE_ARGS &&
    1.31 +
    1.32 +	./configure $CONFIGURE_ARGS &&
    1.33 +	fix libtool &&
    1.34  	make &&
    1.35  	make DESTDIR=$DESTDIR install
    1.36  }
    1.37  
    1.38 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.39 -genpkg_rules()
    1.40 -{
    1.41 -	cp -a $install/* $fs/
    1.42 +genpkg_rules() {
    1.43 +	copy @std
    1.44 +	DEPENDS="gtk+ libglade"
    1.45 +	TAGS="test diagnostic screen"
    1.46  }