wok-next view glibmm/receipt @ rev 17970

Add scilab
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Apr 17 23:05:43 2015 +0200 (2015-04-17)
parents 10803e6295e4
children 28f443011cb6
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 }