wok-next annotate 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
rev   line source
al@20464 1 # SliTaz package receipt v2.
erjo@2076 2
erjo@2076 3 PACKAGE="libxfcegui4"
pascal@15334 4 VERSION="4.10.0"
erjo@2076 5 CATEGORY="x-window"
erjo@2076 6 SHORT_DESC="Xfce Gtk Widget library"
erjo@2076 7 MAINTAINER="erjo@slitaz.org"
pascal@14718 8 LICENSE="GPL2"
al@21006 9 WEB_SITE="https://www.xfce.org"
al@20464 10
pascal@14718 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@14718 12 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@14718 13
al@21017 14 BUILD_DEPENDS="gtk2-dev libxfce4util-dev xfconf-dev startup-notification-dev \
al@20464 15 libglade-dev xorg-xcb-util-dev intltool util-linux-uuid-dev"
al@20464 16 SPLIT="libxfcegui4-dev"
erjo@2076 17
al@20464 18 compile_rules() {
pascal@16649 19 # xfce_setenv is removed in libxfce4util 4.11.0
pascal@16649 20 sed -i 's/xfce_setenv/g_setenv/' libxfcegui4/xfce-exec.c
al@20550 21
al@20464 22 ./configure \
slaxemulator@8051 23 --disable-static \
slaxemulator@8051 24 --disable-debug \
slaxemulator@8051 25 $CONFIGURE_ARGS &&
al@20595 26 fix libtool &&
pascal@5003 27 make &&
pascal@14718 28 make DESTDIR=$DESTDIR install
erjo@2076 29 }
erjo@2076 30
al@20464 31 genpkg_rules() {
al@20464 32 case $PACKAGE in
al@20464 33 libxfcegui4)
al@20550 34 copy @std
al@21017 35 DEPENDS="gtk2 libxfce4util xfconf startup-notification dbus-glib \
al@20464 36 libglade"
al@20464 37 ;;
al@20464 38 *-dev)
al@20550 39 copy @dev
al@21017 40 DEPENDS="gtk2 libxfcegui4 libxfce4util-dev"
al@20464 41 ;;
al@20464 42 esac
erjo@2076 43 }