wok-6.x view libbonoboui/receipt @ rev 12536

rage: need auto tools
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 02:16:57 2012 +0200 (2012-04-26)
parents 32c9fe64bb7f
children 4904e3d374a9
line source
1 # SliTaz package receipt.
3 PACKAGE="libbonoboui"
4 VERSION="2.24.3"
5 CATEGORY="x-window"
6 SHORT_DESC="The libbonoboui package contains libbonoboui libraries."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnome.org/"
10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
12 DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf alsa-lib popt \
13 libbonobo"
14 BUILD_DEPENDS="glib-dev gtk+-dev libgnome-dev libgnomecanvas-dev libglade-dev \
15 GConf-dev alsa-lib-dev popt-dev libbonobo-dev util-linux-uuid-dev intltool \
16 dbus-glib-dev audiofile esound libffi"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure $CONFIGURE_ARGS \
23 --sysconfdir=/etc/gnome \
24 --libexecdir=/usr/lib/bonobo &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 mkdir -p $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/bonobo* $fs/usr/lib
36 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
37 cp -a $_pkg/usr/share/applications $fs/usr/share
38 cp -a $_pkg/usr/share/gnome-2.0 $fs/usr/share
40 # remove archive lib
41 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
42 }