wok view glibmm/receipt @ rev 25125
updated apache-mod-wsgi (4.6.5 -> 4.9.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 28 16:29:10 2022 +0100 (2022-06-28) |
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 }