wok view mate-desktop/receipt @ rev 18022

Up: cookutils, cookutils-daemon (725).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun May 03 15:12:44 2015 +0300 (2015-05-03)
parents b42d6b5ae206
children 86780f05c8c2
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-desktop"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="Common package for MATE Desktop applications."
8 MAINTAINER="yuripourre@gmail.com"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.mate-desktop.org/"
11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
13 DEPENDS="gtk+ gdk-pixbuf"
14 BUILD_DEPENDS="wget cacerts autoconf automake dconf-dev libtool itstool \
15 mate-common-dev gtk-doc gtk+-dev gdk-pixbuf-dev yelp-tools harfbuzz-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./autogen.sh \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/share $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 }
36 # Post install/remove commands for Tazpkg.
37 post_install()
38 {
39 echo "Processing post-install commands..."
40 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
41 }
43 post_remove()
44 {
45 echo "Processing post-remove commands..."
46 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
47 }