wok view glibmm/receipt @ rev 12754

Up ecm (1.03)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 11 14:55:49 2012 +0200 (2012-05-11)
parents 57760a0cef5d
children 76b72f1ad63c
line source
1 # SliTaz package receipt.
3 PACKAGE="glibmm"
4 VERSION="2.30.0"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for the popular GUI library GTK+."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gtkmm.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
12 DEPENDS="glib libgio libgiomm libsigc++ gcc-lib-base"
13 BUILD_DEPENDS="glib-dev libsigc++-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
20 ./configure $CONFIGURE_ARGS &&
21 make && make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 # Remove libgiomm
30 rm -rf $fs/usr/lib/libgiomm*
31 }