wok view libbonobo/receipt @ rev 11774

libxcb-dev: Fix DEPENDS (http://bugs.slitaz.org/issue76)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 23 23:27:47 2012 +0100 (2012-02-23)
parents 02bbaa9d12ba
children 5b67942406c8
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 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 $_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
37 # Clean unwated files
38 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
39 }