wok-next view mate-desktop/receipt @ rev 16958
Add mate-common-dev and mate-desktop-dev
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Mon Jul 28 20:21:05 2014 -0300 (2014-07-28) |
parents | a49a13f312fe |
children | b42d6b5ae206 |
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 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 }