wok-6.x view glibmm/receipt @ rev 4727
Add: evince, *-doc, *-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jan 06 16:26:38 2010 +0100 (2010-01-06) |
parents | 62a12dcd3a80 |
children | 9f19aee613be |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibmm"
4 VERSION="2.20.0"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for the popular GUI library GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="glib libgio libgiomm libsigc++"
9 BUILD_DEPENDS="$DEPENDS glib-dev libgio-dev libgiomm-dev libsigc++-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gtkmm.org/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.20/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 # Remove libgiomm
33 rm -rf $fs/usr/lib/libgiomm*
34 # Cook all packages based on glibmm
35 for i in $(cd $WOK; grep -l '^WANTED="glibmm"$' */receipt)
36 do
37 echo tazwok cook ${i%/receipt}
38 done
39 }