wok-6.x view gtkmm/receipt @ rev 5783
Speedup some builds
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 10 13:41:34 2010 +0200 (2010-07-10) |
parents | c38d85e890c2 |
children | e11ea00cf974 |
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 -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 }