wok-next view libbonobo/receipt @ rev 15609

Up rack (1.3.10)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 06 20:49:37 2013 +0000 (2013-12-06)
parents 0b74dfbe7c77
children 9b92d4c11156
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 cd $src
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 }