wok view xfce4-settings/receipt @ rev 6699

get-OpenOffice3: get any localization
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 13 16:01:25 2010 +0200 (2010-10-13)
parents 4b214496135c
children de72b34f5fa0
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-settings"
4 VERSION="4.6.5"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Settings Manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfcegui4 libexo xfconf libglade dbus-glib xorg-libXi \
9 xorg-libXrandr libnotify libwnck"
10 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libexo-dev xfconf-dev libglade-dev
11 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://www.xfce.org/"
14 WGET_URL="$WEB_SITE/archive/xfce/4.6.2/src/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 --sysconfdir=/etc \
22 --enable-xcursor \
23 --enable-libnotify \
24 --enable-xrandr \
25 --enable-debug=no \
26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
27 make && make DESTDIR=$PWD/_pkg 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/etc $fs/
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
39 cp -a $_pkg/usr/share/applications $fs/usr/share
41 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
42 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
43 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
44 fi
46 }