wok-next view libxfcegui4/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents 690e7cc036d5
children d5aab818505e
line source
1 # SliTaz package receipt v2.
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 WEB_SITE="https://www.xfce.org"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="gtk2-dev libxfce4util-dev xfconf-dev startup-notification-dev \
15 libglade-dev xorg-xcb-util-dev intltool util-linux-uuid-dev"
16 SPLIT="libxfcegui4-dev"
18 compile_rules() {
19 # xfce_setenv is removed in libxfce4util 4.11.0
20 sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c
22 ./configure \
23 --disable-static \
24 --disable-debug \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libxfcegui4)
34 copy @std
35 DEPENDS="gtk2 libxfce4util xfconf startup-notification dbus-glib \
36 libglade"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="gtk2 libxfcegui4 libxfce4util-dev"
41 ;;
42 esac
43 }