wok-next rev 20747

system-tools-backends: provide dev package; liboobs: use that package
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed May 30 16:54:11 2018 +0300 (2018-05-30)
parents e3f6f9426156
children e4425aeb7078
files liboobs/receipt system-tools-backends/receipt
line diff
     1.1 --- a/liboobs/receipt	Wed May 30 16:44:33 2018 +0300
     1.2 +++ b/liboobs/receipt	Wed May 30 16:54:11 2018 +0300
     1.3 @@ -11,7 +11,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.5  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
     1.6  
     1.7 -BUILD_DEPENDS="dbus-glib-dev glib-dev system-tools-backends"
     1.8 +BUILD_DEPENDS="dbus-glib-dev glib-dev system-tools-backends-dev"
     1.9  SPLIT="liboobs-dev"
    1.10  
    1.11  compile_rules() {
     2.1 --- a/system-tools-backends/receipt	Wed May 30 16:44:33 2018 +0300
     2.2 +++ b/system-tools-backends/receipt	Wed May 30 16:54:11 2018 +0300
     2.3 @@ -12,6 +12,7 @@
     2.4  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
     2.5  
     2.6  BUILD_DEPENDS="dbus-dev polkit-dev dbus-glib-dev glib-dev intltool perl-dev"
     2.7 +SPLIT="system-tools-backends-dev"
     2.8  
     2.9  compile_rules() {
    2.10  	./configure $CONFIGURE_ARGS &&
    2.11 @@ -21,6 +22,13 @@
    2.12  }
    2.13  
    2.14  genpkg_rules() {
    2.15 -	copy @std
    2.16 -	DEPENDS="dbus dbus-glib glib glibc-base libffi pcre polkit zlib"
    2.17 +	case $PACKAGE in
    2.18 +		system-tools-backends)
    2.19 +			copy @std
    2.20 +			DEPENDS="dbus dbus-glib glib perl polkit"
    2.21 +			;;
    2.22 +		*-dev)
    2.23 +			copy @dev
    2.24 +			;;
    2.25 +	esac
    2.26  }