wok-next view glibmm/receipt @ rev 2691

Fix: liboil BUILD_DEPENDS
author Rohit Joshi <jozee@slitaz.org>
date Wed Apr 22 10:25:18 2009 +0000 (2009-04-22)
parents 987853b8719d
children 62a12dcd3a80
line source
1 # SliTaz package receipt.
3 PACKAGE="glibmm"
4 VERSION="2.18.1"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for the popular GUI library GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glib libgio libsigc++"
9 BUILD_DEPENDS="libsigc++ libsigc++-dev libgio libgio-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.18/$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 }