wok rev 18080

Split mate-panel in mate-panel-dev
author Yuri Pourre <yuripourre@gmail.com>
date Fri May 22 18:02:36 2015 -0300 (2015-05-22)
parents 6c702454c949
children 479c30a9b8ed
files mate-panel-dev/receipt mate-panel/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mate-panel-dev/receipt	Fri May 22 18:02:36 2015 -0300
     1.3 @@ -0,0 +1,21 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mate-panel-dev"
     1.7 +VERSION="1.9.1"
     1.8 +CATEGORY="utilities"
     1.9 +LICENSE="GPL3"
    1.10 +SHORT_DESC="Panel where you can run applications and applets using MATE."
    1.11 +MAINTAINER="yuripourre@gmail.com"
    1.12 +WEB_SITE="http://www.mate-desktop.org/"
    1.13 +WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
    1.14 +WANTED="mate-panel"
    1.15 +DEPENDS="mate-panel"
    1.16 +
    1.17 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.18 +genpkg_rules()
    1.19 +{
    1.20 +	mkdir -p $fs/usr/lib $fs/usr/include
    1.21 +	cp -a $install/usr/lib/*.la $fs/usr/lib
    1.22 +	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.23 +	cp -a $install/usr/include/* $fs/usr/include
    1.24 +}
     2.1 --- a/mate-panel/receipt	Fri May 22 17:40:44 2015 -0300
     2.2 +++ b/mate-panel/receipt	Fri May 22 18:02:36 2015 -0300
     2.3 @@ -15,7 +15,7 @@
     2.4  gtk+-dev mate-common-dev mate-desktop-dev mate-menus-dev yelp-tools \
     2.5  harfbuzz-dev gtk-doc gobject-introspection-dev dbus-glib-dev \
     2.6  libcanberra-dev libwnck-dev librsvg-dev util-linux-uuid-dev \
     2.7 -libmateweather-dev libsoup-dev"
     2.8 +libmateweather-dev libsoup-dev sqlite-dev"
     2.9  
    2.10  # Rules to configure and make the package.
    2.11  compile_rules()
    2.12 @@ -24,7 +24,7 @@
    2.13  		--prefix=/usr          \
    2.14  		--sysconfdir=/etc      \
    2.15  		--localstatedir=/var   \
    2.16 -		--enable-introspection \
    2.17 +		--disable-introspection\
    2.18  		--disable-static       \
    2.19  		$CONFIGURE_ARGS &&
    2.20  	make &&
    2.21 @@ -33,6 +33,21 @@
    2.22  
    2.23  genpkg_rules()
    2.24  {
    2.25 -	mkdir -p $fs/usr/share
    2.26 +	mkdir -p $fs/usr/lib
    2.27 +	cp -a $install/usr/bin $fs/usr
    2.28  	cp -a $install/usr/share $fs/usr
    2.29 +	cp -a $install/usr/libexec $fs/usr
    2.30 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.31  }
    2.32 +
    2.33 +post_install()
    2.34 +{
    2.35 +	echo "Processing post-install commands..."
    2.36 +	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    2.37 +}
    2.38 +
    2.39 +post_remove()
    2.40 +{
    2.41 +	echo "Processing post-remove commands..."
    2.42 +	chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    2.43 +}