wok view libxfcegui4/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents bd7510903310
children ea7c7014b421
line source
1 # SliTaz package receipt.
3 PACKAGE="libxfcegui4"
4 VERSION="4.10.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Gtk Widget library"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org"
11 WGET_URL="https://archive.xfce.org/src/archive/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib libglade"
14 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev
15 libglade-dev xcb-util-dev intltool util-linux-uuid-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://git.xfce.org/archive/libxfcegui4/ 2>/dev/null | \
21 sed '/tag.?h=/!d;s|.*libxfcegui4-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src
28 # xfce_setenv is removed in libxfce4util 4.11.0
29 sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c
30 ./configure --prefix=/usr \
31 --infodir=/usr/share/info \
32 --mandir=/usr/share/man \
33 --disable-static \
34 --disable-debug \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
44 mkdir -p $fs/usr/lib \
45 $fs/usr/share/locale
47 cp -a $install/usr/lib/*.so* $fs/usr/lib
48 cp -a $install/usr/lib/libglade $fs/usr/lib
49 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
50 cp -a $install/usr/share/icons $fs/usr/share
52 # Remove SVG icons
53 rm -rf $fs/usr/share/icons/hicolor/scalable
55 }