wok view glibmm/receipt @ rev 18459

Add c-ares
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 28 23:07:00 2015 +0200 (2015-09-28)
parents 10803e6295e4
children a78610b2eb47
line source
1 # SliTaz package receipt.
3 PACKAGE="glibmm"
4 VERSION="2.40.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.xz"
10 WEB_SITE="http://www.gtkmm.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="glib libsigc++ gcc-lib-base glibc-base libffi pcre"
14 BUILD_DEPENDS="glib-dev libsigc++-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
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 $install/usr/lib/*.so* $fs/usr/lib
29 # Remove libgiomm
30 rm -rf $fs/usr/lib/libgiomm*
31 }