wok annotate libbonoboui/receipt @ rev 16229

fpc-bootstrap: prepare multi arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 01 08:34:15 2014 +0000 (2014-04-01)
parents 73641efed1cc
children 86790a278e70
rev   line source
pascal@11205 1 # SliTaz package receipt.
pascal@11205 2
pascal@11205 3 PACKAGE="libbonoboui"
pascal@11205 4 VERSION="2.24.3"
pascal@11205 5 CATEGORY="x-window"
pascal@11205 6 SHORT_DESC="The libbonoboui package contains libbonoboui libraries."
pascal@11205 7 MAINTAINER="pankso@slitaz.org"
pascal@14714 8 LICENSE="GPL2"
pascal@11205 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@11205 10 WEB_SITE="http://www.gnome.org/"
pascal@11205 11 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
pascal@11205 12
pascal@11205 13 DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf alsa-lib popt \
pascal@11205 14 libbonobo"
pascal@11205 15 BUILD_DEPENDS="glib-dev gtk+-dev libgnome-dev libgnomecanvas-dev libglade-dev \
pankso@12481 16 GConf-dev alsa-lib-dev popt-dev libbonobo-dev util-linux-uuid-dev intltool \
pascal@11580 17 dbus-glib-dev audiofile esound libffi"
pascal@11205 18
pascal@11205 19 # Rules to configure and make the package.
pascal@11205 20 compile_rules()
pascal@11205 21 {
pascal@11205 22 cd $src
gokhlayeh@11573 23 ./configure $CONFIGURE_ARGS \
pascal@11205 24 --sysconfdir=/etc/gnome \
pascal@11205 25 --libexecdir=/usr/lib/bonobo &&
pascal@11205 26 make && make install
pascal@11205 27 }
pascal@11205 28
pascal@11205 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@11205 30 genpkg_rules()
pascal@11205 31 {
pascal@11205 32 mkdir -p $fs/usr/lib
pascal@11205 33 mkdir -p $fs/usr/share
pascal@14714 34 cp -a $install/usr/bin $fs/usr
pascal@14714 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@14714 36 cp -a $install/usr/lib/bonobo* $fs/usr/lib
pascal@14714 37 cp -a $install/usr/lib/libglade $fs/usr/lib
pascal@14714 38 cp -a $install/usr/share/applications $fs/usr/share
pascal@14714 39 cp -a $install/usr/share/gnome-2.0 $fs/usr/share
pascal@11205 40
pascal@11205 41 # remove archive lib
pascal@11205 42 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
pascal@11205 43 }