wok-next view libbonobo/receipt @ rev 14358

electricsheep: partial fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 18 10:45:17 2013 +0200 (2013-04-18)
parents 5b67942406c8
children 4904e3d374a9
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 DEPENDS="glib ORBit2 libxml2 libglade"
9 BUILD_DEPENDS="glib-dev libgio-dev libglade-dev ORBit2-dev libxml2-dev popt-dev bison flex intltool pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnome.org"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --sysconfdir=/etc/gnome \
21 --libexecdir=/usr/lib/bonobo \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $install/etc $fs/
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/sbin $fs/usr
33 cp -a $install/usr/lib/*.so* $fs/usr/lib
34 cp -a $install/usr/lib/orbit-2.0 $fs/usr/lib
35 cp -a $install/usr/lib/bonobo $fs/usr/lib
37 # Clean unwated files
38 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
39 }