wok-next view marco/receipt @ rev 18138
Up chkrootkit (0.50), rkhunter (1.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 15 09:16:13 2015 +0200 (2015-06-15) |
parents | 4eb77e876a50 |
children | a9c240804d58 |
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 \
14 xorg-libXt startup-notification mate-desktop"
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/lib $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/glib-2.0 $fs/usr/share
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }
41 post_install()
42 {
43 echo "Processing post-install commands..."
44 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
45 }
47 post_remove()
48 {
49 echo "Processing post-remove commands..."
50 chroot $1/ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
51 }