wok-next annotate mate-control-center/receipt @ rev 17979
mtpaint: view external using GPicView, print image using Yad, view documentation online using TazWeb.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 18 17:02:44 2015 +0300 (2015-04-18) |
parents | 52d078e55911 |
children | e863f2041090 |
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@17808 | 12 |
yuripourre@17808 | 13 DEPENDS="gtk+ caja desktop-file-utils libxklavier libgtop xorg-libICE xorg-libSM \ |
yuripourre@17808 | 14 xorg-libXt startup-notification gsettings-desktop-schemas mate-settings-daemon" |
yuripourre@17808 | 15 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool libunique-dev \ |
yuripourre@17808 | 16 dconf-dev mate-common-dev mate-desktop-dev mate-menus-dev mate-settings-daemon-dev \ |
yuripourre@17808 | 17 libxklavier-dev libmatekbd-dev marco-dev libgtop-dev librsvg-dev dbus-glib-dev \ |
yuripourre@17808 | 18 yelp-tools xorg-libXss-dev xorg-libXt-dev startup-notification-dev \ |
pascal@17809 | 19 util-linux-uuid-dev libcanberra-dev desktop-file-utils" |
yuripourre@17808 | 20 |
yuripourre@17808 | 21 # Rules to configure and make the package. |
yuripourre@17808 | 22 compile_rules() |
yuripourre@17808 | 23 { |
yuripourre@17808 | 24 ./autogen.sh \ |
yuripourre@17808 | 25 --prefix=/usr \ |
yuripourre@17808 | 26 --sysconfdir=/etc \ |
yuripourre@17808 | 27 --localstatedir=/var \ |
yuripourre@17808 | 28 --disable-static \ |
yuripourre@17808 | 29 $CONFIGURE_ARGS && |
yuripourre@17808 | 30 make && |
yuripourre@17808 | 31 make DESTDIR=$DESTDIR install |
yuripourre@17808 | 32 } |
yuripourre@17808 | 33 |
yuripourre@17808 | 34 genpkg_rules() |
yuripourre@17808 | 35 { |
yuripourre@17808 | 36 mkdir -p $fs/usr/lib $fs/usr/libexec |
yuripourre@17808 | 37 cp -a $install/etc $fs |
yuripourre@17808 | 38 cp -a $install/usr/bin $fs/usr |
yuripourre@17808 | 39 cp -a $install/usr/sbin $fs/usr |
yuripourre@17808 | 40 cp -a $install/usr/share $fs/usr |
yuripourre@17808 | 41 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@17808 | 42 cp -a $install/usr/lib/window-manager-settings/*.so* $fs/usr/lib/window-manager-settings |
yuripourre@17808 | 43 } |
pascal@17809 | 44 |
pascal@17809 | 45 # Post installation custom. |
pascal@17809 | 46 post_install() |
pascal@17809 | 47 { |
pascal@17809 | 48 [ -x $1/usr/bin/gtk-update-icon-cache ] && |
pascal@17809 | 49 chroot "$1/" gtk-update-icon-cache -f -t /usr/share/icons/hicolor |
pascal@17809 | 50 } |