wok view libxfcegui4/receipt @ rev 17354
Up: audacity (2.0.6)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sun Nov 16 00:18:13 2014 +0000 (2014-11-16) |
parents | 1b0746e3490c |
children | 6e8b1bcb30e2 |
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="http://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 }