wok-stable view xfwm4/receipt @ rev 6111

tazbb: add check-receipt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 04 13:54:44 2010 +0200 (2010-09-04)
parents 413b0174114a
children 7e968c7eff76
line source
1 # SliTaz package receipt.
3 PACKAGE="xfwm4"
4 VERSION="4.6.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Window Manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 xfconf dbus-glib libwnck libglade"
9 BUILD_DEPENDS="libxfce4util-dev xfconf-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.xfce.org/"
12 WGET_URL="$WEB_SITE/archive/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 --mandir=/usr/share/man $CONFIGURE_ARGS && \
24 make && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr \
31 $fs/usr/share/locale
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $_pkg/usr/share/applications $fs/usr/share
36 cp -a $_pkg/usr/share/icons $fs/usr/share
37 cp -a $_pkg/usr/share/themes $fs/usr/share
38 cp -a $_pkg/usr/share/xfwm4 $fs/usr/share
40 # Remove SVG icons
41 test -d $fs/usr/share/icons/hicolor/scalable \
42 && rm -rf $fs/usr/share/icons/hicolor/scalable
43 }