wok-stable view gtkmm/receipt @ rev 9072
wqy-microhei, wqy-bitmapfont: fix genpkg_rules (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 15:45:23 2011 +0100 (2011-03-04) |
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 }