wok view libxfcegui4/receipt @ rev 20917

updated fdupes (1.40 -> 1.6.1)
author Hans-G?nter Theisgen
date Thu Feb 28 17:10:02 2019 +0100 (2019-02-28)
parents a5a22b5fb904
children c37ae188e486
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 }