wok view marco/receipt @ rev 18081

marco: compile glib schemas
author Yuri Pourre <yuripourre@gmail.com>
date Fri May 22 18:19:21 2015 -0300 (2015-05-22)
parents 7be1813492df
children c31dd4eecbd3
line source
1 # SliTaz package receipt.
3 PACKAGE="marco"
4 VERSION="1.9.3"
5 CATEGORY="utilities"
6 LICENSE="GPL3"
7 SHORT_DESC="A window manager 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"
13 DEPENDS="gtk+ libcanberra libgtop xorg-libICE xorg-libSM xorg-libXt \
14 startup-notification"
15 BUILD_DEPENDS="wget gtk+-dev autoconf automake libtool itstool gtk-doc \
16 mate-common-dev mate-desktop-dev libcanberra-dev libgtop-dev yelp-tools \
17 xorg-libICE-dev xorg-libSM-dev xorg-libXt-dev startup-notification-dev \
18 util-linux-uuid-dev zenity"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./autogen.sh \
24 --prefix=/usr \
25 --sysconfdir=/etc \
26 --localstatedir=/var \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/bin $fs/usr/lib
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/*.so* $fs/usr/lib
38 }
40 post_install()
41 {
42 echo "Processing post-install commands..."
43 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
44 }
46 post_remove()
47 {
48 echo "Processing post-remove commands..."
49 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
50 }