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

afpfs-ng,btfs,curlftpfs,ddumbfs,djmount,encfs,exfat-utils,fusecloop,fusedav,fuseiso,httpfs2-fuse: try fuse2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 18 17:45:47 2022 +0000 (2022-03-18)
parents 324b3fa82b76
children
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="https://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 current_version()
17 {
18 wget -O - $(dirname $WGET_URL) 2>/dev/null | sed '/LATEST/!d;s|.*IS-||;s|<.*||'
19 }
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 find . -name '*.[ch]*' | xargs sed -i 's|<glib/.*h|<glib.h|'
25 sed 's/return gobject_;/return \&gobject_;/' -i glib/glibmm/threads.h
26 ./configure $CONFIGURE_ARGS &&
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $install/usr/lib/*.so* $fs/usr/lib
35 # Remove libgiomm
36 rm -rf $fs/usr/lib/libgiomm*
37 }