wok-current view xfwm4/receipt @ rev 2320
Up: slitaz-base-files, slitaz-boot-scripts, slitaz-configs, slitaz-tools, tazpkg, tazusb
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Feb 27 22:38:16 2009 +0100 (2009-02-27) |
parents | |
children | 422f5813b998 |
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 BUILD_DEPENDS="xorg-libSM-dev libxfce4util-dev xfce-mcs-manager-dev
10 xorg-libXrender-dev xorg-libXrandr-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://www.xfce.org/"
13 WGET_URL="http://www.p0llux.be/xfce/xfce-4.4.3/src/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr \
20 --enable-render \
21 --enable-startup-notification \
22 --enable-randr \
23 --disable-debug \
24 --mandir=/usr/share/man $CONFIGURE_ARGS && \
25 make && make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr \
32 $fs/usr/share/locale \
33 $fs/usr/lib/xfce4/mcs-plugins
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/xfce4/mcs-plugins $fs/usr/lib/xfce4/mcs-plugins/*.so*
37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
38 cp -a $_pkg/usr/share/applications $fs/usr/share
39 cp -a $_pkg/usr/share/icons $fs/usr/share
40 cp -a $_pkg/usr/share/themes $fs/usr/share
41 cp -a $_pkg/usr/share/xfwm4 $fs/usr/share
43 # Remove SVG icons
44 test -d $fs/usr/share/icons/hicolor/scalable \
45 && rm -rf $fs/usr/share/icons/hicolor/scalable
46 }