wok-next view glibmm/receipt @ rev 16563

potamus: needs libsamplrate
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 01 11:08:34 2014 +0200 (2014-05-01)
parents afa646cac104
children f18af4c8752a
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 LICENSE="LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gtkmm.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
13 DEPENDS="glib libgio libgiomm libsigc++ gcc-lib-base"
14 BUILD_DEPENDS="glib-dev libsigc++-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
21 ./configure $CONFIGURE_ARGS &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 # Remove libgiomm
31 rm -rf $fs/usr/lib/libgiomm*
32 }