wok-6.x view xfwm4/receipt @ rev 8178
imported patch toolchain/elfutils.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | c5b3cfecea6f |
children | 8e229ab81413 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfwm4"
4 VERSION="4.8.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Window Manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
9 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org/"
12 WGET_URL="http://archive.xfce.org/xfce/${VERSION%.*}/src/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 --enable-render \
20 --enable-startup-notification \
21 --enable-randr \
22 --disable-debug \
23 --disable-static \
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
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
36 cp -a $_pkg/usr/share/applications $fs/usr/share
37 cp -a $_pkg/usr/share/icons $fs/usr/share
38 cp -a $_pkg/usr/share/themes $fs/usr/share
39 cp -a $_pkg/usr/share/xfwm4 $fs/usr/share
41 # Remove SVG icons
42 test -d $fs/usr/share/icons/hicolor/scalable \
43 && rm -rf $fs/usr/share/icons/hicolor/scalable
44 }