wok view libbonobo/receipt @ rev 8221
imported patch cleanup_inprogress/slitaz-i18n.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:50 2011 +0100 (2011-01-27) |
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 }