wok-undigest view libbonoboui/receipt @ rev 433
tslib: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 06 15:36:12 2011 +0200 (2011-09-06) |
parents | b5beeaddbd0d |
children |
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-ng-uuid-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --sysconfdir=/etc/gnome \
23 --libexecdir=/usr/lib/bonobo &&
24 make && make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 mkdir -p $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/bonobo* $fs/usr/lib
35 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
36 cp -a $_pkg/usr/share/applications $fs/usr/share
37 cp -a $_pkg/usr/share/gnome-2.0 $fs/usr/share
39 # remove archive lib
40 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
41 }