wok-next diff gsettings-desktop-schemas/receipt @ rev 20461

Respect "install" phase (src -> install). Cook will fail if install dir empty (and it's by design).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Mar 04 04:56:40 2018 +0200 (2018-03-04)
parents f463de72afe3
children 0222c6257a8d
line diff
     1.1 --- a/gsettings-desktop-schemas/receipt	Sun Jun 18 04:38:10 2017 +0300
     1.2 +++ b/gsettings-desktop-schemas/receipt	Sun Mar 04 04:56:40 2018 +0200
     1.3 @@ -1,30 +1,35 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="gsettings-desktop-schemas"
     1.8 -VERSION="3.20.0"
     1.9 -CATEGORY="x-window"
    1.10 -SHORT_DESC="Collection of GSettings schemas for settings shared by various components of a GNOME Desktop"
    1.11 +VERSION="3.24.0"
    1.12 +CATEGORY="gnome"
    1.13 +SHORT_DESC="Collection of GSettings schemas"
    1.14  MAINTAINER="al.bobylev@gmail.com"
    1.15  LICENSE="LGPL2.1"
    1.16 -WEB_SITE="http://www.gnome.org/"
    1.17 +WEB_SITE="https://git.gnome.org/browse/gsettings-desktop-schemas"
    1.18 +LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/gsettings-desktop-schemas.html"
    1.19  
    1.20  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.21  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.22  
    1.23 -DEPENDS="glib"
    1.24  BUILD_DEPENDS="glib-dev gobject-introspection-dev intltool"
    1.25 +SPLIT="gsettings-desktop-schemas-dev"
    1.26  
    1.27 -# Rules to configure and make the package.
    1.28 -compile_rules()
    1.29 -{
    1.30 -	sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in &&
    1.31 +compile_rules() {
    1.32 +	sed -i -r 's:"(/system):"/org/gnome\1:g' schemas/*.in
    1.33  
    1.34  	./configure $CONFIGURE_ARGS && make && make install
    1.35  }
    1.36  
    1.37 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.38 -genpkg_rules()
    1.39 -{
    1.40 -	copy usr/
    1.41 -	rm -rf $fs/usr/share/locale
    1.42 +genpkg_rules() {
    1.43 +	case $PACKAGE in
    1.44 +		gsettings-desktop-schemas)
    1.45 +			copy @std
    1.46 +			DEPENDS="glib dconf"
    1.47 +			;;
    1.48 +		*-dev)
    1.49 +			copy @dev
    1.50 +			DEPENDS="gsettings-desktop-schemas glib-dev"
    1.51 +			;;
    1.52 +	esac
    1.53  }