wok-next view libbonobo/receipt @ rev 6738

Added libbonobo.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Oct 16 19:37:57 2010 +0000 (2010-10-16)
parents
children 02bbaa9d12ba
line source
1 # SliTaz package receipt.
3 PACKAGE="libbonobo"
4 VERSION="2.32.0"
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="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$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 DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/etc $fs/
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/orbit-2.0 $fs/usr/lib
35 cp -a $_pkg/usr/lib/bonobo $fs/usr/lib/bonobo
37 # Clean unwated files
38 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
40 # Stripping all
41 find . -name "*.so" -exec strip -s {} \;
42 }