wok-next diff glibmm/receipt @ rev 19751

Up perl-xml-parser: we have perl-dev now...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 08 15:34:29 2017 +0300 (2017-06-08)
parents 28f443011cb6
children e70c0b9c5adf
line diff
     1.1 --- a/glibmm/receipt	Mon Apr 10 00:21:34 2017 +0300
     1.2 +++ b/glibmm/receipt	Thu Jun 08 15:34:29 2017 +0300
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="glibmm"
     1.8  VERSION="2.48.1"
     1.9  CATEGORY="x-window"
    1.10 -SHORT_DESC="C++ interface for the popular GUI library GTK+."
    1.11 +SHORT_DESC="C++ interface for GTK+"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="LGPL2.1"
    1.14  WEB_SITE="http://www.gtkmm.org/"
    1.15 @@ -11,7 +11,6 @@
    1.16  TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.17  WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
    1.18  
    1.19 -DEPENDS="glib libsigc++ gcc-lib-base glibc-base"
    1.20  BUILD_DEPENDS="glib-dev libsigc++-dev"
    1.21  SPLIT="libgiomm libgiomm-dev glibmm-dev"
    1.22  
    1.23 @@ -26,5 +25,24 @@
    1.24  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.25  genpkg_rules()
    1.26  {
    1.27 -	cook_copy_files libglibmm*.so*
    1.28 +	case $PACKAGE in
    1.29 +		glibmm)
    1.30 +			copy libglibmm*.so*
    1.31 +			DEPENDS="glib libsigc++ gcc-lib-base glibc-base"
    1.32 +			;;
    1.33 +		glibmm-dev)
    1.34 +			copy glibmm-2.4/ libglibmm*.la glibmm-2.4.pc
    1.35 +			DEPENDS="glibmm libgiomm-dev libsigc++-dev glib-dev pkg-config"
    1.36 +			;;
    1.37 +		libgiomm)
    1.38 +			copy libgiomm*.so*
    1.39 +			DEPENDS="glib glibmm libgio libsigc++"
    1.40 +			CAT="x-window|GIO Framework"
    1.41 +			;;
    1.42 +		libgiomm-dev)
    1.43 +			copy giomm-2.4/ libgiomm*.la giomm-2.4.pc
    1.44 +			DEPENDS="libgiomm pkg-config"
    1.45 +			CAT="development|GIO Framework development files"
    1.46 +			;;
    1.47 +	esac
    1.48  }