wok view xfce4-settings/receipt @ rev 21490

trickle: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 01 18:05:32 2019 +0200 (2019-05-01)
parents 9d46bb55b8eb
children c37ae188e486
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-settings"
4 VERSION="4.11.2"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Settings Manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org/"
11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxfce4util libxfce4ui libexo xfconf libglade dbus-glib xorg-libXi \
14 xorg-libXrandr libnotify libwnck"
15 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev xfconf-dev libglade-dev
16 dbus-glib-dev xorg-libXi-dev xorg-libXrandr-dev xorg-inputproto libnotify-dev \
17 intltool exo startup-notification-dev util-linux-uuid-dev garcon-dev xcb-util-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr \
24 --sysconfdir=/etc \
25 --enable-xcursor \
26 --enable-libnotify \
27 --enable-xrandr \
28 --enable-libxklavier \
29 --enable-sound-settings \
30 --disable-debug \
31 --disable-static \
32 --mandir=/usr/share/man $CONFIGURE_ARGS && \
33 make && make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr \
40 $fs/usr/share/locale
42 cp -a $install/etc $fs/
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/applications $fs/usr/share
46 if [ -f $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml ]; then
47 sed -i 's/Xfce/Clearlooks/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
48 sed -i 's/Rodent/Tango/' $fs/etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
49 fi
51 }