wok-6.x view libbonobo/receipt @ rev 17627
libbonobo: remove G_DISABLE_DEPRECATED
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 13 12:17:51 2015 +0100 (2015-02-13) |
parents | 4904e3d374a9 |
children | 6e8b1bcb30e2 |
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 libgio-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 }