# HG changeset patch # User Yuri Pourre # Date 1432328556 10800 # Node ID 2446d512c1d57d4c6e414b3265f8ebdcf75cf916 # Parent 6c702454c949d415a34c5d7128e811c39aea0c25 Split mate-panel in mate-panel-dev diff -r 6c702454c949 -r 2446d512c1d5 mate-panel-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mate-panel-dev/receipt Fri May 22 18:02:36 2015 -0300 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="mate-panel-dev" +VERSION="1.9.1" +CATEGORY="utilities" +LICENSE="GPL3" +SHORT_DESC="Panel where you can run applications and applets using MATE." +MAINTAINER="yuripourre@gmail.com" +WEB_SITE="http://www.mate-desktop.org/" +WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" +WANTED="mate-panel" +DEPENDS="mate-panel" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/include + cp -a $install/usr/lib/*.la $fs/usr/lib + cp -a $install/usr/lib/pkgconfig $fs/usr/lib + cp -a $install/usr/include/* $fs/usr/include +} diff -r 6c702454c949 -r 2446d512c1d5 mate-panel/receipt --- a/mate-panel/receipt Fri May 22 17:40:44 2015 -0300 +++ b/mate-panel/receipt Fri May 22 18:02:36 2015 -0300 @@ -15,7 +15,7 @@ gtk+-dev mate-common-dev mate-desktop-dev mate-menus-dev yelp-tools \ harfbuzz-dev gtk-doc gobject-introspection-dev dbus-glib-dev \ libcanberra-dev libwnck-dev librsvg-dev util-linux-uuid-dev \ -libmateweather-dev libsoup-dev" +libmateweather-dev libsoup-dev sqlite-dev" # Rules to configure and make the package. compile_rules() @@ -24,7 +24,7 @@ --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ - --enable-introspection \ + --disable-introspection\ --disable-static \ $CONFIGURE_ARGS && make && @@ -33,6 +33,21 @@ genpkg_rules() { - mkdir -p $fs/usr/share + mkdir -p $fs/usr/lib + cp -a $install/usr/bin $fs/usr cp -a $install/usr/share $fs/usr + cp -a $install/usr/libexec $fs/usr + cp -a $install/usr/lib/*.so* $fs/usr/lib } + +post_install() +{ + echo "Processing post-install commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +} + +post_remove() +{ + echo "Processing post-remove commands..." + chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas +}