wok view gtkmm/receipt @ rev 2456
php-apache, php-dev, pidgin, pmount, poedit, poppler-apps, poppler, privoxy, psycopg, ptlib: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 14 07:42:38 2009 +0000 (2009-03-14) |
parents | 52dc4b48ed81 |
children | c91fdd0583b9 |
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"
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 }