wok-next diff lxde-icon-theme/receipt @ rev 20348

ploticus (2.42)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 18 17:19:51 2017 +0100 (2017-11-18)
parents 40fab26c175d
children 17a64e6b8783
line diff
     1.1 --- a/lxde-icon-theme/receipt	Mon May 09 21:59:10 2016 +0300
     1.2 +++ b/lxde-icon-theme/receipt	Sat Nov 18 17:19:51 2017 +0100
     1.3 @@ -1,4 +1,4 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="lxde-icon-theme"
     1.8  VERSION="0.5.1"
     1.9 @@ -7,21 +7,33 @@
    1.10  MAINTAINER="al.bobylev@gmail.com"
    1.11  LICENSE="LGPL3"
    1.12  WEB_SITE="http://www.lxde.org/"
    1.13 +
    1.14  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.15  WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    1.16 -TAGS="LXDE"
    1.17  
    1.18 -DEPENDS=""
    1.19 -BUILD_DEPENDS="coreutils"
    1.20 +BUILD_DEPENDS="coreutils-operations"
    1.21 +SPLIT="lxde-icon-theme-base lxde-icon-theme"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 +	# http://www.linuxfromscratch.org/blfs/view/stable/x/lxde-icon-theme.html
    1.27  	./configure $CONFIGURE_ARGS && make && make install
    1.28  }
    1.29  
    1.30  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.31  genpkg_rules()
    1.32  {
    1.33 -	cp -a $install/* $fs
    1.34 +	TAGS="LXDE"
    1.35 +	case $PACKAGE in
    1.36 +		*-base)
    1.37 +			copy 16x16/ 48x48/ icon.theme
    1.38 +			CAT="customization|16 and 48 sizes only"
    1.39 +			;;
    1.40 +		*-theme)
    1.41 +			copy @std
    1.42 +			remove_already_packed
    1.43 +			DEPENDS="lxde-icon-theme-base"
    1.44 +			;;
    1.45 +	esac
    1.46  }