wok-undigest view libbonobo/receipt @ rev 8

Add libbonobo, libbonobo-dev
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Fri Mar 19 19:59:02 2010 +0100 (2010-03-19)
parents
children ea9cbfae3627
line source
1 # SliTaz package receipt.
3 PACKAGE="libbonobo"
4 VERSION="2.24.2"
5 CATEGORY="misc"
6 SHORT_DESC="Librairies for GNOME"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS=""
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnome.org"
11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --sysconfdir=/etc/gnome \
20 --libexecdir=/usr/lib/bonobo \
21 $CONFIGURE_ARGS &&
22 make && make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/share
29 cp -a $_pkg/etc $fs/
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/sbin $fs/usr
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/orbit-2.0 $fs/usr/lib
34 cp -a $_pkg/usr/lib/bonobo $fs/usr/lib/bonobo
35 CP -a $_pkg/usr/share/applications $fs/usr/share
36 CP -a $_pkg/usr/share/gnome* $fs/usr/share
38 # Clean unwated files
39 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
41 # Stripping all
42 find . -name "*.so" -exec strip -s {} \;
43 }