wok-next view libbonobo/receipt @ rev 19779

Deprecate libgio, use glib instead.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jun 16 15:39:43 2017 +0300 (2017-06-16)
parents 9b92d4c11156
children 93930f418ffb
line source
1 # SliTaz package receipt.
3 PACKAGE="libbonobo"
4 VERSION="2.32.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Librairies for GNOME"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnome.org"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
13 DEPENDS="glib ORBit2 libxml2 libglade"
14 BUILD_DEPENDS="glib-dev libglade-dev ORBit2-dev libxml2-dev popt-dev bison flex intltool pkg-config"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's/-DG_DISABLE_DEPRECATED//' activation-server/Makefile*
20 ./configure \
21 --prefix=/usr \
22 --sysconfdir=/etc/gnome \
23 --libexecdir=/usr/lib/bonobo \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/etc $fs/
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/sbin $fs/usr
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 cp -a $install/usr/lib/orbit-2.0 $fs/usr/lib
37 cp -a $install/usr/lib/bonobo $fs/usr/lib
39 # Clean unwated files
40 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
41 }