wok-6.x annotate libbonobo/receipt @ rev 10441

hal-cups-utils: fix bdeps
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 25 02:47:07 2011 +0200 (2011-05-25)
parents e79cbcd6df76
children c575c4db956f
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 &&
slaxemulator@6738 23 make && make DESTDIR=$PWD/_pkg 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 {
slaxemulator@6738 29 mkdir -p $fs/usr/lib $fs/usr/share
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
slaxemulator@6738 35 cp -a $_pkg/usr/lib/bonobo $fs/usr/lib/bonobo
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