wok view mate-desktop/receipt @ rev 17272

linux: update config64
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 24 17:50:20 2014 +0200 (2014-10-24)
parents ea0b0780b9d9
children cd8a239d2f12
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-desktop"
4 VERSION="1.9.1"
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 }