wok-current view libxfcegui4/receipt @ rev 23662

updated spruz (0.2.6 -> 0.2.13)
author Hans-G?nter Theisgen
date Fri Apr 24 07:20:56 2020 +0100 (2020-04-24)
parents 251c25e029b0
children 544e47246b33
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="http://archive.xfce.org/src/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 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 # xfce_setenv is removed in libxfce4util 4.11.0
22 sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c
23 ./configure --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --disable-static \
27 --disable-debug \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
37 mkdir -p $fs/usr/lib \
38 $fs/usr/share/locale
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/libglade $fs/usr/lib
42 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
43 cp -a $install/usr/share/icons $fs/usr/share
45 # Remove SVG icons
46 rm -rf $fs/usr/share/icons/hicolor/scalable
48 }