wok view xfwm4/receipt @ rev 2755

Add task
author Paul Issott <paul@slitaz.org>
date Sun Apr 26 15:40:30 2009 +0000 (2009-04-26)
parents 62c9d38f56c0
children ae431daa8afa
line source
1 # SliTaz package receipt.
3 PACKAGE="xfwm4"
4 VERSION="4.4.3"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Window Manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="xorg-libSM xfce-mcs-manager xorg-libXrender xorg-libXrandr \
9 xorg-libXdamage"
10 BUILD_DEPENDS="xorg-libSM-dev libxfce4util-dev xfce-mcs-manager-dev
11 xorg-libXrender-dev xorg-libXrandr-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.xfce.org/"
14 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --enable-render \
22 --enable-startup-notification \
23 --enable-randr \
24 --disable-debug \
25 --mandir=/usr/share/man $CONFIGURE_ARGS && \
26 make && make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr \
33 $fs/usr/share/locale \
34 $fs/usr/lib/xfce4/mcs-plugins
36 cp -a $_pkg/usr/bin $fs/usr
37 cp -a $_pkg/usr/lib/xfce4/mcs-plugins $fs/usr/lib/xfce4/mcs-plugins/*.so*
38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
39 cp -a $_pkg/usr/share/applications $fs/usr/share
40 cp -a $_pkg/usr/share/icons $fs/usr/share
41 cp -a $_pkg/usr/share/themes $fs/usr/share
42 cp -a $_pkg/usr/share/xfwm4 $fs/usr/share
44 # Remove SVG icons
45 test -d $fs/usr/share/icons/hicolor/scalable \
46 && rm -rf $fs/usr/share/icons/hicolor/scalable
47 }