wok view gtkmm/receipt @ rev 2486

f*: update depends
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 15 21:33:26 2009 +0000 (2009-03-15)
parents 9c242dc4abaf
children 8b79c3ee7ac2
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkmm"
4 VERSION="2.12.7"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for the popular GUI library GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ glibmm cairomm libsigc++"
9 BUILD_DEPENDS="gtk+-dev glibmm-dev cairomm-dev doxygen"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gtkmm.org/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.12/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's/GTKMM_DOXYGEN_INPUT=".*/GTKMM_DOXYGEN_INPUT=""' configure
19 sed -i 's/^GTKMM_DOXYGEN/#GTKMM_DOXYGEN/' configure.in
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 strip -s $fs/usr/lib/*
35 }
37 clean_wok()
38 {
39 rm -f $WOK/$PACKAGE/classGtk_*
40 rm -f $WOK/$PACKAGE/gtk-orientation*
41 }