wok-next annotate libbonobo/receipt @ rev 14358

electricsheep: partial fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 18 10:45:17 2013 +0200 (2013-04-18)
parents 5b67942406c8
children 4904e3d374a9
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"
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@13528 12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$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@13528 30 cp -a $install/etc $fs/
slaxemulator@13528 31 cp -a $install/usr/bin $fs/usr
slaxemulator@13528 32 cp -a $install/usr/sbin $fs/usr
slaxemulator@13528 33 cp -a $install/usr/lib/*.so* $fs/usr/lib
slaxemulator@13528 34 cp -a $install/usr/lib/orbit-2.0 $fs/usr/lib
slaxemulator@13528 35 cp -a $install/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