wok-current view xfce4-settings/receipt @ rev 9155
firmware: fix SOURCE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 07 13:02:30 2011 +0100 (2011-03-07) |
parents | 2c1c86b2beaf |
children | 3f4969fca4d9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-settings"
4 VERSION="4.8.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Settings Manager"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \
9 xorg-libXrandr libnotify libwnck"
10 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev
11 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \
12 intltool exo"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WEB_SITE="http://www.xfce.org/"
15 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --sysconfdir=/etc \
23 --enable-xcursor \
24 --enable-libnotify \
25 --enable-xrandr \
26 --enable-libxklavier \
27 --enable-sound-settings \
28 --disable-debug \
29 --disable-static \
30 --mandir=/usr/share/man $CONFIGURE_ARGS && \
31 make && make DESTDIR=$PWD/_pkg install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr \
38 $fs/usr/share/locale
40 cp -a $_pkg/etc $fs/
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
43 cp -a $_pkg/usr/share/applications $fs/usr/share
45 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
46 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
47 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
48 fi
50 }