wok-next view libxfcegui4/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children 5669e8b3be70
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="devel@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="$PACKAGE-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=$install 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 }