wok-next view xfwm4/receipt @ rev 12836

retawq: cross-compile for ARM and update bookmarks
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 22 19:06:11 2012 +0200 (2012-05-22)
parents 55e23a927f26
children 93c7babc7da8
line source
1 # SliTaz package receipt.
3 PACKAGE="xfwm4"
4 VERSION="4.8.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Window Manager"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.xfce.org/"
10 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
13 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
14 libwnck-dev dbus-glib-dev util-linux-uuid-dev"
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 --disable-static \
26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
27 make && make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr \
34 $fs/usr/share/locale
36 cp -a $_pkg/usr/bin $fs/usr
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 }