wok view mate-control-center/receipt @ rev 18298

Up linux (3.2.71), again
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 17 14:15:07 2015 +0200 (2015-08-17)
parents 4fbcc1630441
children 9e01bc6321ea
line source
1 # SliTaz package receipt.
3 PACKAGE="mate-control-center"
4 VERSION="1.9.0"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="The control center for MATE Desktop."
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"
12 TAGS="MATE"
13 DEPENDS="gtk+ caja desktop-file-utils libxklavier libgtop librsvg xorg-libICE \
14 xorg-libSM xorg-libXt startup-notification gsettings-desktop-schemas \
15 mate-settings-daemon"
16 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool libunique-dev \
17 dconf-dev mate-common-dev mate-desktop-dev mate-menus-dev mate-settings-daemon-dev \
18 libxklavier-dev libmatekbd-dev marco-dev libgtop-dev librsvg-dev dbus-glib-dev \
19 yelp-tools xorg-libXss-dev xorg-libXt-dev startup-notification-dev \
20 util-linux-uuid-dev libcanberra-dev desktop-file-utils"
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 ./autogen.sh \
26 --prefix=/usr \
27 --sysconfdir=/etc \
28 --localstatedir=/var \
29 --disable-static \
30 $CONFIGURE_ARGS &&
31 make &&
32 make DESTDIR=$DESTDIR install
33 }
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/libexec
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/share $fs/usr
42 cp -a $install/usr/lib/*.so* $fs/usr/lib
43 cp -a $install/usr/lib/window-manager-settings/*.so* $fs/usr/lib/window-manager-settings
44 }
46 # Post installation custom.
47 post_install()
48 {
49 echo "Processing post-install commands..."
50 [ -x $1/usr/bin/gtk-update-icon-cache ] &&
51 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor
52 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
53 chroot $1/ /usr/bin/update-mime-database /usr/share/mime
54 }
56 post_remove()
57 {
58 echo "Processing post-remove commands..."
59 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
60 chroot $1/ /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
61 chroot $1/ /usr/bin/update-mime-database /usr/share/mime
62 }