wok-6.x view glibmm/receipt @ rev 5944
Up catalyst (10.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 03 11:41:52 2010 +0200 (2010-08-03) |
parents | 9f19aee613be |
children | 86c7ddf422e6 |
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="$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.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 }