wok-6.x annotate mate-desktop/receipt @ rev 17024
usbids: up 20140731
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Aug 14 09:20:02 2014 +0000 (2014-08-14) |
parents | ea0b0780b9d9 |
children | cd8a239d2f12 |
rev | line source |
---|---|
yuripourre@16946 | 1 # SliTaz package receipt. |
yuripourre@16946 | 2 |
yuripourre@16946 | 3 PACKAGE="mate-desktop" |
yuripourre@16946 | 4 VERSION="1.9.1" |
yuripourre@16946 | 5 CATEGORY="utilities" |
yuripourre@16946 | 6 LICENSE="GPL3" |
yuripourre@16946 | 7 SHORT_DESC="Common package for MATE Desktop applications." |
yuripourre@16946 | 8 MAINTAINER="yuripourre@gmail.com" |
yuripourre@16946 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
yuripourre@16946 | 10 WEB_SITE="http://www.mate-desktop.org/" |
yuripourre@16946 | 11 WGET_URL="https://github.com/mate-desktop/$PACKAGE/archive/$TARBALL" |
yuripourre@16946 | 12 |
yuripourre@16946 | 13 DEPENDS="gtk+ gdk-pixbuf" |
yuripourre@16958 | 14 BUILD_DEPENDS="wget cacerts autoconf automake dconf-dev libtool itstool \ |
yuripourre@16960 | 15 mate-common-dev gtk-doc gtk+-dev gdk-pixbuf-dev yelp-tools harfbuzz-dev" |
yuripourre@16946 | 16 |
yuripourre@16946 | 17 # Rules to configure and make the package. |
yuripourre@16946 | 18 compile_rules() |
yuripourre@16946 | 19 { |
yuripourre@16946 | 20 ./autogen.sh \ |
yuripourre@16946 | 21 --prefix=/usr \ |
yuripourre@16946 | 22 $CONFIGURE_ARGS && |
yuripourre@16946 | 23 make && |
yuripourre@16946 | 24 make DESTDIR=$DESTDIR install |
yuripourre@16946 | 25 } |
yuripourre@16946 | 26 |
yuripourre@16958 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
yuripourre@16946 | 28 genpkg_rules() |
yuripourre@16946 | 29 { |
yuripourre@16958 | 30 mkdir -p $fs/usr/lib |
yuripourre@16958 | 31 cp -a $install/usr/bin $fs/usr |
yuripourre@16958 | 32 cp -a $install/usr/share $fs/usr |
yuripourre@16958 | 33 cp -a $install/usr/lib/*.so* $fs/usr/lib |
yuripourre@16946 | 34 } |
yuripourre@16958 | 35 |
yuripourre@16958 | 36 # Post install/remove commands for Tazpkg. |
yuripourre@16958 | 37 post_install() |
yuripourre@16958 | 38 { |
yuripourre@16958 | 39 echo "Processing post-install commands..." |
yuripourre@16958 | 40 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@16958 | 41 } |
yuripourre@16958 | 42 |
yuripourre@16958 | 43 post_remove() |
yuripourre@16958 | 44 { |
yuripourre@16958 | 45 echo "Processing post-remove commands..." |
yuripourre@16958 | 46 chroot "$1/" /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas |
yuripourre@16958 | 47 } |