wok-current view gtkmm/receipt @ rev 2555

libsigc++: mute genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 26 12:30:40 2009 +0000 (2009-03-26)
parents 8b79c3ee7ac2
children 0c05abcea462
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkmm"
4 VERSION="2.14.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"
9 BUILD_DEPENDS="$DEPENDS gtk+-dev glibmm-dev cairomm-dev libsigc++-dev \
10 doxygen libgiomm-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://www.gtkmm.org/"
13 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.14/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i 's/GTKMM_DOXYGEN_INPUT=".*/GTKMM_DOXYGEN_INPUT=""'/ configure
20 sed -i 's/^GTKMM_DOXYGEN/#GTKMM_DOXYGEN/' configure.in
21 ./configure \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 }