wok view xfwm4/receipt @ rev 24768

libwebkit: bison 3 fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 19 12:46:44 2022 +0000 (2022-03-19)
parents cfb29dc98daa
children bd7510903310
line source
1 # SliTaz package receipt.
3 PACKAGE="xfwm4"
4 VERSION="4.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Window 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"
12 TAGS="window-manager"
14 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
15 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
16 libwnck-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev xcb-util-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*/*}/$(wget -O - ${WGET_URL%/*/*} 2>/dev/null | \
22 sed '/href="/!d;/Index of/d;s|.*href="||;s|/.*||' | sort -Vr | sed q) 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 ./configure --prefix=/usr \
30 --enable-render \
31 --enable-startup-notification \
32 --enable-randr \
33 --disable-debug \
34 --disable-static \
35 --mandir=/usr/share/man $CONFIGURE_ARGS && \
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr \
43 $fs/usr/share/locale
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/share/applications $fs/usr/share
47 cp -a $install/usr/share/icons $fs/usr/share
48 cp -a $install/usr/share/themes $fs/usr/share
49 cp -a $install/usr/share/xfwm4 $fs/usr/share
51 # Remove SVG icons
52 test -d $fs/usr/share/icons/hicolor/scalable \
53 && rm -rf $fs/usr/share/icons/hicolor/scalable
54 }