wok annotate libbonobo/receipt @ rev 13042

xtel: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 15 16:06:40 2012 +0200 (2012-06-15)
parents 02bbaa9d12ba
children 5b67942406c8
rev   line source
slaxemulator@6738 1 # SliTaz package receipt.
slaxemulator@6738 2
slaxemulator@6738 3 PACKAGE="libbonobo"
slaxemulator@6738 4 VERSION="2.32.0"
slaxemulator@6738 5 CATEGORY="x-window"
slaxemulator@6738 6 SHORT_DESC="Librairies for GNOME"
slaxemulator@6738 7 MAINTAINER="erjo@slitaz.org"
slaxemulator@6738 8 DEPENDS="glib ORBit2 libxml2 libglade"
slaxemulator@6738 9 BUILD_DEPENDS="glib-dev libgio-dev libglade-dev ORBit2-dev libxml2-dev popt-dev bison flex intltool pkg-config"
slaxemulator@6738 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@6738 11 WEB_SITE="http://www.gnome.org"
slaxemulator@6738 12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
slaxemulator@6738 13
slaxemulator@6738 14 # Rules to configure and make the package.
slaxemulator@6738 15 compile_rules()
slaxemulator@6738 16 {
slaxemulator@6738 17 cd $src
slaxemulator@6738 18 ./configure \
slaxemulator@6738 19 --prefix=/usr \
slaxemulator@6738 20 --sysconfdir=/etc/gnome \
slaxemulator@6738 21 --libexecdir=/usr/lib/bonobo \
slaxemulator@6738 22 $CONFIGURE_ARGS &&
pankso@10723 23 make && make install
slaxemulator@6738 24 }
slaxemulator@6738 25
slaxemulator@6738 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@6738 27 genpkg_rules()
slaxemulator@6738 28 {
pankso@10723 29 mkdir -p $fs/usr/lib
slaxemulator@6738 30 cp -a $_pkg/etc $fs/
slaxemulator@6738 31 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@6738 32 cp -a $_pkg/usr/sbin $fs/usr
slaxemulator@6738 33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@6738 34 cp -a $_pkg/usr/lib/orbit-2.0 $fs/usr/lib
pankso@10723 35 cp -a $_pkg/usr/lib/bonobo $fs/usr/lib
slaxemulator@6738 36
slaxemulator@6738 37 # Clean unwated files
slaxemulator@6738 38 cd $fs/usr/lib ; find . -name "*.*a" -exec rm -f {} \;
slaxemulator@6738 39 }
slaxemulator@6738 40