wok-next annotate libxfcegui4/receipt @ rev 20513

A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Mar 21 15:58:17 2018 +0200 (2018-03-21)
parents 4396aed7eb01
children e545e47edffa
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@20464 9 WEB_SITE="http://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@20464 14 BUILD_DEPENDS="gtk+-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@20464 21 ./configure \
al@20464 22 --prefix=/usr \
erjo@2076 23 --infodir=/usr/share/info \
slaxemulator@8051 24 --mandir=/usr/share/man \
slaxemulator@8051 25 --disable-static \
slaxemulator@8051 26 --disable-debug \
slaxemulator@8051 27 $CONFIGURE_ARGS &&
pascal@5003 28 make &&
pascal@14718 29 make DESTDIR=$DESTDIR install
erjo@2076 30 }
erjo@2076 31
al@20464 32 genpkg_rules() {
al@20464 33 case $PACKAGE in
al@20464 34 libxfcegui4)
al@20464 35 mkdir -p $fs/usr/lib \
al@20464 36 $fs/usr/share/locale
al@20464 37 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@20464 38 cp -a $install/usr/lib/libglade $fs/usr/lib
al@20464 39 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
al@20464 40 cp -a $install/usr/share/icons $fs/usr/share
al@20464 41 # Remove SVG icons
al@20464 42 rm -rf $fs/usr/share/icons/hicolor/scalable
al@20464 43 DEPENDS="gtk+ libxfce4util xfconf startup-notification dbus-glib \
al@20464 44 libglade"
al@20464 45 ;;
al@20464 46 *-dev)
al@20464 47 mkdir -p $fs/usr/lib \
al@20464 48 $fs/usr
al@20464 49 cp -a $install/usr/include $fs/usr
al@20464 50 cp -a $install/usr/lib/*.*a $fs/usr/lib
al@20464 51 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
al@20513 52 DEPENDS="gtk+ libxfcegui4 libxfce4util-dev"
al@20464 53 ;;
al@20464 54 esac
erjo@2076 55 }
erjo@2076 56