wok-current view gtkmm/receipt @ rev 5601

Up Catalyst
author Rohit Joshi <jozee@slitaz.org>
date Tue May 18 08:27:44 2010 -0400 (2010-05-18)
parents 7588db8eeda4
children 8806a69fb967
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkmm"
4 VERSION="2.20.3"
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++ xorg-libXdamage libgiomm pangomm \
9 gcc-lib-base"
10 BUILD_DEPENDS="$DEPENDS gtk+-dev glibmm-dev cairomm-dev libsigc++-dev \
11 doxygen libgiomm-dev pangomm-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WEB_SITE="http://www.gtkmm.org/"
14 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/${VERSION%.*}/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's/GTKMM_DOXYGEN_INPUT=".*/GTKMM_DOXYGEN_INPUT=""'/ configure
21 sed -i 's/^GTKMM_DOXYGEN/#GTKMM_DOXYGEN/' configure.in
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --disable-docmentation \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 }