wok-next diff hsetroot/receipt @ rev 20507

mesa: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 16 12:33:45 2018 +0100 (2018-03-16)
parents c4e53a39395a
children a3c581bf52b8
line diff
     1.1 --- a/hsetroot/receipt	Fri Mar 02 12:12:14 2018 +0200
     1.2 +++ b/hsetroot/receipt	Fri Mar 16 12:33:45 2018 +0100
     1.3 @@ -1,34 +1,29 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="hsetroot"
     1.8  VERSION="1.0.2"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="Tool to set desktop wallpaper."
    1.11 +SHORT_DESC="Tool to set desktop wallpaper"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="http://thegraveyard.org/hsetroot.php"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://thegraveyard.org/hsetroot.php"
    1.18  WGET_URL="http://thegraveyard.org/files/$TARBALL"
    1.19 -TAGS="wallpaper"
    1.20  
    1.21 -DEPENDS="imlib2 libpng16 freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.22 -xorg-libXext"
    1.23 -BUILD_DEPENDS="imlib2-dev libpng16-dev"
    1.24 -
    1.25 +BUILD_DEPENDS="imlib2-dev libpng16-dev xorg-libX11-dev"
    1.26  # ARM: imlib2-dev must be installed in build chroot
    1.27  
    1.28 -# Rules to configure and make the package.
    1.29 -compile_rules()
    1.30 -{
    1.31 +compile_rules() {
    1.32  	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lX11"
    1.33  	./configure \
    1.34  		$CONFIGURE_ARGS &&
    1.35  	make && make 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
    1.42 -	cp -a $install/usr/bin $fs/usr
    1.43 +genpkg_rules() {
    1.44 +	copy @std
    1.45 +	DEPENDS="imlib2 libpng16 freetype xorg-libX11 xorg-libXau xorg-libXdmcp \
    1.46 +	xorg-libXext"
    1.47 +	TAGS="wallpaper"
    1.48  }