wok annotate mate-control-center/receipt @ rev 18394

mtpaint: disable libopenjpeg & libjasper
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Sat Sep 19 01:58:35 2015 +0200 (2015-09-19)
parents 4fbcc1630441
children 9e01bc6321ea
rev   line source
yuripourre@17808 1 # SliTaz package receipt.
yuripourre@17808 2
yuripourre@17808 3 PACKAGE="mate-control-center"
yuripourre@17808 4 VERSION="1.9.0"
yuripourre@17808 5 CATEGORY="utilities"
yuripourre@17808 6 LICENSE="GPL3"
yuripourre@17808 7 SHORT_DESC="The control center for MATE Desktop."
yuripourre@17808 8 MAINTAINER="yuripourre@gmail.com"
yuripourre@17808 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
yuripourre@17808 10 WEB_SITE="http://www.mate-desktop.org/"
yuripourre@17808 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL"
yuripourre@18280 12 TAGS="MATE"
yuripourre@18281 13 DEPENDS="gtk+ caja desktop-file-utils libxklavier libgtop librsvg xorg-libICE \
yuripourre@18281 14 xorg-libSM xorg-libXt startup-notification gsettings-desktop-schemas \
yuripourre@18281 15 mate-settings-daemon"
yuripourre@17808 16 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool libunique-dev \
yuripourre@17808 17 dconf-dev mate-common-dev mate-desktop-dev mate-menus-dev mate-settings-daemon-dev \
yuripourre@17808 18 libxklavier-dev libmatekbd-dev marco-dev libgtop-dev librsvg-dev dbus-glib-dev \
yuripourre@17808 19 yelp-tools xorg-libXss-dev xorg-libXt-dev startup-notification-dev \
pascal@17809 20 util-linux-uuid-dev libcanberra-dev desktop-file-utils"
yuripourre@17808 21
yuripourre@17808 22 # Rules to configure and make the package.
yuripourre@17808 23 compile_rules()
yuripourre@17808 24 {
yuripourre@17808 25 ./autogen.sh \
yuripourre@17808 26 --prefix=/usr \
yuripourre@17808 27 --sysconfdir=/etc \
yuripourre@17808 28 --localstatedir=/var \
yuripourre@17808 29 --disable-static \
yuripourre@17808 30 $CONFIGURE_ARGS &&
yuripourre@17808 31 make &&
yuripourre@17808 32 make DESTDIR=$DESTDIR install
yuripourre@17808 33 }
yuripourre@17808 34
yuripourre@17808 35 genpkg_rules()
yuripourre@17808 36 {
yuripourre@17808 37 mkdir -p $fs/usr/lib $fs/usr/libexec
yuripourre@17808 38 cp -a $install/etc $fs
yuripourre@17808 39 cp -a $install/usr/bin $fs/usr
yuripourre@17808 40 cp -a $install/usr/sbin $fs/usr
yuripourre@17808 41 cp -a $install/usr/share $fs/usr
yuripourre@17808 42 cp -a $install/usr/lib/*.so* $fs/usr/lib
yuripourre@17808 43 cp -a $install/usr/lib/window-manager-settings/*.so* $fs/usr/lib/window-manager-settings
yuripourre@17808 44 }
pascal@17809 45
pascal@17809 46 # Post installation custom.
pascal@17809 47 post_install()
pascal@17809 48 {
yuripourre@18281 49 echo "Processing post-install commands..."
pascal@17809 50 [ -x $1/usr/bin/gtk-update-icon-cache ] &&
pascal@17809 51 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor
yuripourre@18281 52 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
psychomaniak@18282 53 chroot $1/ /usr/bin/update-mime-database /usr/share/mime
pascal@17809 54 }
yuripourre@18281 55
yuripourre@18281 56 post_remove()
yuripourre@18281 57 {
yuripourre@18281 58 echo "Processing post-remove commands..."
yuripourre@18281 59 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
psychomaniak@18282 60 chroot $1/ /usr/bin/gtk-update-icon-cache -f -t /usr/share/icons/hicolor
psychomaniak@18282 61 chroot $1/ /usr/bin/update-mime-database /usr/share/mime
yuripourre@18281 62 }