wok annotate xfce4-settings/receipt @ rev 7009

Up: phpldapadmin to 1.2.0.5.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 31 13:19:00 2010 +0000 (2010-10-31)
parents 4b214496135c
children de72b34f5fa0
rev   line source
erjo@4143 1 # SliTaz package receipt.
erjo@4143 2
erjo@4143 3 PACKAGE="xfce4-settings"
erjo@5833 4 VERSION="4.6.5"
erjo@4143 5 CATEGORY="x-window"
erjo@4143 6 SHORT_DESC="Xfce Settings Manager"
erjo@4143 7 MAINTAINER="erjo@slitaz.org"
pascal@5008 8 DEPENDS="libxfce4util libxfcegui4 libexo xfconf libglade dbus-glib xorg-libXi \
pascal@5008 9 xorg-libXrandr libnotify libwnck"
erjo@4143 10 BUILD_DEPENDS="libxfce4util-dev libxfcegui4-dev libexo-dev xfconf-dev libglade-dev
erjo@4143 11 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev"
erjo@4143 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4143 13 WEB_SITE="http://www.xfce.org/"
erjo@5833 14 WGET_URL="$WEB_SITE/archive/xfce/4.6.2/src/$TARBALL"
erjo@4143 15
erjo@4143 16 # Rules to configure and make the package.
erjo@4143 17 compile_rules()
erjo@4143 18 {
erjo@4143 19 cd $src
erjo@4143 20 ./configure --prefix=/usr \
erjo@4143 21 --sysconfdir=/etc \
erjo@4143 22 --enable-xcursor \
erjo@4143 23 --enable-libnotify \
erjo@4143 24 --enable-xrandr \
erjo@4143 25 --enable-debug=no \
erjo@4143 26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@4143 27 make && make DESTDIR=$PWD/_pkg install
erjo@4143 28 }
erjo@4143 29
erjo@4143 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4143 31 genpkg_rules()
erjo@4143 32 {
erjo@4143 33 mkdir -p $fs/usr \
erjo@4143 34 $fs/usr/share/locale
erjo@4143 35
erjo@4143 36 cp -a $_pkg/etc $fs/
erjo@4143 37 cp -a $_pkg/usr/bin $fs/usr
erjo@4143 38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4143 39 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@5850 40
erjo@5850 41 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
erjo@5850 42 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
erjo@5850 43 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
erjo@5850 44 fi
erjo@5850 45
erjo@4143 46 }
erjo@4143 47