wok view atkmm/receipt @ rev 24568

sokojs: add shrink.sh (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 26 16:37:15 2022 +0000 (2022-02-26)
parents 86790a278e70
children
line source
1 # SliTaz package receipt.
3 PACKAGE="atkmm"
4 VERSION="2.22.6"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for the popular Accessibility toolkit."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 BUILD_DEPENDS="atk-dev glib-dev glibmm-dev libgiomm-dev pkg-config"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://www.gnome.org/"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="atk libsigc++"
16 current_version()
17 {
18 wget -O - https://gitlab.gnome.org/GNOME/atkmm/-/tags 2>/dev/null | \
19 sed '/tar.gz/!d;s|.*/atkmm-\(.*\).tar.gz".*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 cd $src
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 }