wok-current view libgnomeui/receipt @ rev 11486

sdcc: add flex as build_depend
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Dec 18 03:02:00 2011 +0100 (2011-12-18)
parents
children e232f2f168e8
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomeui"
4 VERSION="2.24.5"
5 CATEGORY="x-window"
6 SHORT_DESC="This is the gui parts of what was previously gnome-libs"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libgnome libgnomecanvas libglade libbonoboui gnome-keyring"
9 BUILD_DEPENDS="libgnome-dev libgnomecanvas-dev gnome-keyring \
10 libgnome-keyring-dev libbonoboui-dev util-linux-ng-uuid-dev libgcrypt-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.gnome.org"
13 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --libexecdir=/usr/lib/$PACKAGE \
22 $CONFIGURE_ARGS &&
23 make && make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
32 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
33 find $fs/usr/lib -name *.*a -exec rm -f {} \;
34 }