wok-4.x view glibmm/receipt @ rev 2291

Up: compcache (0.5.1) + typo fix
author Fabrice THIROUX <mimas@slitaz.org>
date Sun Feb 22 11:19:51 2009 +0100 (2009-02-22)
parents c94bfd9c3c73
children 987853b8719d
line source
1 # SliTaz package receipt.
3 PACKAGE="glibmm"
4 VERSION="2.16.2"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for the popular GUI library GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="libsigc++ libsigc++-dev libgio libgio-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gtkmm.org/"
11 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.16/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --infodir=/usr/share/info \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS
22 make
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 # Remove libgiomm
32 rm -rf $fs/usr/lib/libgiomm*
33 # Cook all packages based on glibmm
34 for i in $(cd $WOK; grep -l '^WANTED="glibmm"$' */receipt)
35 do
36 echo tazwok cook ${i%/receipt}
37 done
38 }