wok annotate xfce4-settings/receipt @ rev 24949

updated nagios-nsca (2.9.2 -> 2.10.1)
author Hans-G?nter Theisgen
date Fri Apr 22 17:54:28 2022 +0100 (2022-04-22)
parents 251c25e029b0
children bd7510903310
rev   line source
erjo@4143 1 # SliTaz package receipt.
erjo@4143 2
erjo@4143 3 PACKAGE="xfce4-settings"
erkan@22419 4 VERSION="4.12.0"
erjo@4143 5 CATEGORY="x-window"
erjo@4143 6 SHORT_DESC="Xfce Settings Manager"
erjo@4143 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@9877 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20669 10 WEB_SITE="https://www.xfce.org/"
erjo@9877 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@9877 12
erjo@8024 13 DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \
pascal@5008 14 xorg-libXrandr libnotify libwnck"
erjo@8024 15 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev
gokhlayeh@8039 16 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \
pascal@19751 17 intltool exo startup-notification-dev util-linux-uuid-dev garcon-dev xcb-util-dev"
erjo@4143 18
pascal@24415 19 # What is the latest version available today?
pascal@24415 20 current_version()
pascal@24415 21 {
pascal@24415 22 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
pascal@24415 23 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
pascal@24415 24 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 25 }
pascal@24415 26
erjo@4143 27 # Rules to configure and make the package.
erjo@4143 28 compile_rules()
erjo@4143 29 {
erjo@4143 30 cd $src
erjo@4143 31 ./configure --prefix=/usr \
erjo@4143 32 --sysconfdir=/etc \
erjo@4143 33 --enable-xcursor \
erjo@4143 34 --enable-libnotify \
erjo@4143 35 --enable-xrandr \
erjo@8024 36 --enable-libxklavier \
erjo@8024 37 --enable-sound-settings \
slaxemulator@8032 38 --disable-debug \
slaxemulator@8032 39 --disable-static \
erjo@4143 40 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@9877 41 make && make DESTDIR=$DESTDIR install
erjo@4143 42 }
erjo@4143 43
erjo@4143 44 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4143 45 genpkg_rules()
erjo@4143 46 {
erjo@4143 47 mkdir -p $fs/usr \
erjo@4143 48 $fs/usr/share/locale
erjo@4143 49
pascal@15000 50 cp -a $install/etc $fs/
pascal@15000 51 cp -a $install/usr/bin $fs/usr
pascal@15000 52 cp -a $install/usr/share/applications $fs/usr/share
erjo@5850 53
erjo@5850 54 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
erjo@5850 55 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
erjo@5850 56 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
erjo@5850 57 fi
erjo@5850 58
erjo@4143 59 }
erjo@4143 60