wok annotate xfce4-settings/receipt @ rev 10259

Add p0f. A passive OS fingerprinting tool.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 21 04:09:33 2011 +0000 (2011-05-21)
parents 0cdfcdc0e0e0
children 6e707a5121fa
rev   line source
erjo@4143 1 # SliTaz package receipt.
erjo@4143 2
erjo@4143 3 PACKAGE="xfce4-settings"
slaxemulator@8283 4 VERSION="4.8.1"
erjo@4143 5 CATEGORY="x-window"
erjo@4143 6 SHORT_DESC="Xfce Settings Manager"
erjo@4143 7 MAINTAINER="erjo@slitaz.org"
erjo@9877 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@9877 9 WEB_SITE="http://www.xfce.org/"
erjo@9877 10 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@9877 11
erjo@8024 12 DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \
pascal@5008 13 xorg-libXrandr libnotify libwnck"
erjo@8024 14 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev
gokhlayeh@8039 15 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \
erjo@9877 16 intltool exo startup-notification-dev util-linux-ng-uuid-dev"
erjo@4143 17
erjo@4143 18 # Rules to configure and make the package.
erjo@4143 19 compile_rules()
erjo@4143 20 {
erjo@4143 21 cd $src
erjo@4143 22 ./configure --prefix=/usr \
erjo@4143 23 --sysconfdir=/etc \
erjo@4143 24 --enable-xcursor \
erjo@4143 25 --enable-libnotify \
erjo@4143 26 --enable-xrandr \
erjo@8024 27 --enable-libxklavier \
erjo@8024 28 --enable-sound-settings \
slaxemulator@8032 29 --disable-debug \
slaxemulator@8032 30 --disable-static \
erjo@4143 31 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@9877 32 make && make DESTDIR=$DESTDIR install
erjo@4143 33 }
erjo@4143 34
erjo@4143 35 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4143 36 genpkg_rules()
erjo@4143 37 {
erjo@4143 38 mkdir -p $fs/usr \
erjo@4143 39 $fs/usr/share/locale
erjo@4143 40
erjo@4143 41 cp -a $_pkg/etc $fs/
erjo@4143 42 cp -a $_pkg/usr/bin $fs/usr
erjo@4143 43 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4143 44 cp -a $_pkg/usr/share/applications $fs/usr/share
erjo@5850 45
erjo@5850 46 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
erjo@5850 47 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
erjo@5850 48 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
erjo@5850 49 fi
erjo@5850 50
erjo@4143 51 }
erjo@4143 52