wok-6.x view glibmm/receipt @ rev 20573

Up xsshfs (20181112)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 13 13:51:58 2018 +0100 (2018-12-13)
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 }