wok-next annotate libbonobo/receipt @ rev 20534

Clean default configure options when site script used.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Mar 30 19:31:50 2018 +0300 (2018-03-30)
parents d43bf7aae921
children 0ec6086e21d6
rev   line source
al@20464 1 # SliTaz package receipt v2.
slaxemulator@6738 2
slaxemulator@6738 3 PACKAGE="libbonobo"
devl547@13525 4 VERSION="2.32.1"
slaxemulator@6738 5 CATEGORY="x-window"
slaxemulator@6738 6 SHORT_DESC="Librairies for GNOME"
slaxemulator@6738 7 MAINTAINER="erjo@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
al@20464 9 WEB_SITE="http://www.gnome.org"
al@20464 10
slaxemulator@6738 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@13528 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
slaxemulator@6738 13
al@20464 14 BUILD_DEPENDS="glib-dev libglade-dev orbit2-dev libxml2-dev popt-dev bison \
al@20513 15 flex intltool"
al@20464 16 SPLIT="libbonobo-dev"
pascal@14714 17
al@20464 18 compile_rules() {
pascal@17627 19 sed -i 's/-DG_DISABLE_DEPRECATED//' activation-server/Makefile*
al@20534 20
slaxemulator@6738 21 ./configure \
slaxemulator@6738 22 --sysconfdir=/etc/gnome \
slaxemulator@6738 23 --libexecdir=/usr/lib/bonobo \
slaxemulator@6738 24 $CONFIGURE_ARGS &&
al@20534 25 make &&
al@20534 26 make install
slaxemulator@6738 27 }
slaxemulator@6738 28
al@20464 29 genpkg_rules() {
al@20464 30 case $PACKAGE in
al@20464 31 libbonobo)
al@20534 32 copy @std
al@20464 33 DEPENDS="glib orbit2 libxml2 libglade"
al@20464 34 ;;
al@20464 35 *-dev)
al@20534 36 copy @dev
al@20464 37 ;;
al@20464 38 esac
slaxemulator@6738 39 }