wok view gtkmm/receipt @ rev 24385
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 07 11:38:23 2022 +0000 (2022-02-07) |
parents | 3e7bbdc0d415 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="gtkmm"
4 VERSION="2.24.5"
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 WEB_SITE="https://www.gtkmm.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="atkmm cairomm gcc-lib-base glibmm gtk+ libgiomm libsigc++ pangomm \
15 xorg-libXdamage"
16 BUILD_DEPENDS="atkmm-dev cairomm-dev doxygen glibmm-dev gtk+-dev libgiomm-dev \
17 libsigc++-dev mm-common pangomm-dev"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --disable-documentation \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }