wok view glibmm/receipt @ rev 5413

Up: gajim (0.13.4) + build fix
author Alexander Medvedev <devl547@gmail.com>
date Mon May 03 19:48:47 2010 +0000 (2010-05-03)
parents 05b4f7c7b60f
children 4feb14025071
line source
1 # SliTaz package receipt.
3 PACKAGE="glibmm"
4 VERSION="2.20.0"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for the popular GUI library GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glib libgio libgiomm libsigc++ gcc-lib-base"
9 BUILD_DEPENDS="$DEPENDS glib-dev libgio-dev libgiomm-dev libsigc++-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gtkmm.org/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.20/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 # Remove libgiomm
33 rm -rf $fs/usr/lib/libgiomm*
34 # Cook all packages based on glibmm
35 for i in $(cd $WOK; grep -l '^WANTED="glibmm"$' */receipt)
36 do
37 echo tazwok cook ${i%/receipt}
38 done
39 }