wok-next view xfce4-settings/receipt @ rev 11262

Merge
author Alexander Medvedev <devl547@gmail.com>
date Mon Nov 07 21:05:41 2011 +0000 (2011-11-07)
parents 3f4969fca4d9
children 73641efed1cc
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-settings"
4 VERSION="4.8.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Settings 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 libexo xfconf libglade dbus-glib xorg-libXi \
13 xorg-libXrandr libnotify libwnck"
14 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev
15 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \
16 intltool exo startup-notification-dev util-linux-ng-uuid-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr \
23 --sysconfdir=/etc \
24 --enable-xcursor \
25 --enable-libnotify \
26 --enable-xrandr \
27 --enable-libxklavier \
28 --enable-sound-settings \
29 --disable-debug \
30 --disable-static \
31 --mandir=/usr/share/man $CONFIGURE_ARGS && \
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr \
39 $fs/usr/share/locale
41 cp -a $_pkg/etc $fs/
42 cp -a $_pkg/usr/bin $fs/usr
43 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
44 cp -a $_pkg/usr/share/applications $fs/usr/share
46 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
47 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
48 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
49 fi
51 }