wok-current annotate libbonobo/receipt @ rev 15615

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