wok view gtkmm/receipt @ rev 8523
Fix icedtea6-jdk: don't exit but return if an error occurs
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sun Feb 13 03:21:54 2011 +0100 (2011-02-13) |
parents | 8806a69fb967 |
children | eed0978232a8 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkmm"
4 VERSION="2.22.0"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for the popular GUI library GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ atkmm glibmm cairomm libsigc++ xorg-libXdamage libgiomm pangomm \
9 gcc-lib-base"
10 BUILD_DEPENDS="gtk+-dev glibmm-dev cairomm-dev libsigc++-dev \
11 doxygen libgiomm-dev pangomm pangomm-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
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 -j 4 &&
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 }