wok annotate libbonoboui/receipt @ rev 13830
eboard: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 07 12:12:01 2013 +0100 (2013-01-07) |
parents | 32c9fe64bb7f |
children | 4904e3d374a9 |
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@11205 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@11205 | 9 WEB_SITE="http://www.gnome.org/" |
pascal@11205 | 10 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL" |
pascal@11205 | 11 |
pascal@11205 | 12 DEPENDS="glib gtk+ libgnome libgnomecanvas libglade GConf alsa-lib popt \ |
pascal@11205 | 13 libbonobo" |
pascal@11205 | 14 BUILD_DEPENDS="glib-dev gtk+-dev libgnome-dev libgnomecanvas-dev libglade-dev \ |
pankso@12481 | 15 GConf-dev alsa-lib-dev popt-dev libbonobo-dev util-linux-uuid-dev intltool \ |
pascal@11580 | 16 dbus-glib-dev audiofile esound libffi" |
pascal@11205 | 17 |
pascal@11205 | 18 # Rules to configure and make the package. |
pascal@11205 | 19 compile_rules() |
pascal@11205 | 20 { |
pascal@11205 | 21 cd $src |
gokhlayeh@11573 | 22 ./configure $CONFIGURE_ARGS \ |
pascal@11205 | 23 --sysconfdir=/etc/gnome \ |
pascal@11205 | 24 --libexecdir=/usr/lib/bonobo && |
pascal@11205 | 25 make && make install |
pascal@11205 | 26 } |
pascal@11205 | 27 |
pascal@11205 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11205 | 29 genpkg_rules() |
pascal@11205 | 30 { |
pascal@11205 | 31 mkdir -p $fs/usr/lib |
pascal@11205 | 32 mkdir -p $fs/usr/share |
pascal@11205 | 33 cp -a $_pkg/usr/bin $fs/usr |
pascal@11205 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@11205 | 35 cp -a $_pkg/usr/lib/bonobo* $fs/usr/lib |
pascal@11205 | 36 cp -a $_pkg/usr/lib/libglade $fs/usr/lib |
pascal@11205 | 37 cp -a $_pkg/usr/share/applications $fs/usr/share |
pascal@11205 | 38 cp -a $_pkg/usr/share/gnome-2.0 $fs/usr/share |
pascal@11205 | 39 |
pascal@11205 | 40 # remove archive lib |
pascal@11205 | 41 find $fs/usr/lib -name "*.*a" -exec rm -f {} \; |
pascal@11205 | 42 } |