wok-current annotate xfce4-settings/receipt @ rev 8024
up: xfce4-settings* (4.8.0)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Jan 20 02:17:18 2011 +0100 (2011-01-20) |
parents | 93655ce0280d |
children | c5b3cfecea6f |
rev | line source |
---|---|
erjo@4143 | 1 # SliTaz package receipt. |
erjo@4143 | 2 |
erjo@4143 | 3 PACKAGE="xfce4-settings" |
erjo@8024 | 4 VERSION="4.8.0" |
erjo@4143 | 5 CATEGORY="x-window" |
erjo@4143 | 6 SHORT_DESC="Xfce Settings Manager" |
erjo@4143 | 7 MAINTAINER="erjo@slitaz.org" |
erjo@8024 | 8 DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \ |
pascal@5008 | 9 xorg-libXrandr libnotify libwnck" |
erjo@8024 | 10 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev |
erjo@8024 | 11 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev" |
erjo@4143 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4143 | 13 WEB_SITE="http://www.xfce.org/" |
erjo@8024 | 14 WGET_URL="http://archive.xfce.org/xfce/${VERSION%.*}/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@8024 | 25 --enable-libxklavier \ |
erjo@8024 | 26 --enable-sound-settings \ |
erjo@4143 | 27 --enable-debug=no \ |
erjo@4143 | 28 --mandir=/usr/share/man $CONFIGURE_ARGS && \ |
erjo@4143 | 29 make && make DESTDIR=$PWD/_pkg install |
erjo@4143 | 30 } |
erjo@4143 | 31 |
erjo@4143 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4143 | 33 genpkg_rules() |
erjo@4143 | 34 { |
erjo@4143 | 35 mkdir -p $fs/usr \ |
erjo@4143 | 36 $fs/usr/share/locale |
erjo@4143 | 37 |
erjo@4143 | 38 cp -a $_pkg/etc $fs/ |
erjo@4143 | 39 cp -a $_pkg/usr/bin $fs/usr |
erjo@4143 | 40 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
erjo@4143 | 41 cp -a $_pkg/usr/share/applications $fs/usr/share |
erjo@5850 | 42 |
erjo@5850 | 43 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then |
erjo@5850 | 44 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml |
erjo@5850 | 45 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml |
erjo@5850 | 46 fi |
erjo@5850 | 47 |
erjo@4143 | 48 } |
erjo@4143 | 49 |