wok-4.x view glibmm/receipt @ rev 6885
Added xcb-util to xcb-util-dev depends.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 00:43:33 2010 +0000 (2010-10-21) |
parents | 86c7ddf422e6 |
children | de14fbf0c729 |
line source
1 # SliTaz package receipt.
3 PACKAGE="glibmm"
4 VERSION="2.24.2"
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++ gcc-lib-base"
9 BUILD_DEPENDS="glib-dev libgio-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.24/$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 }