wok-current view atkmm/receipt @ rev 25698

Fix ntfs-3g receipt
author Stanislas Leduc <shann@slitaz.org>
date Tue Apr 16 19:01:01 2024 +0000 (2 months ago)
parents 68cf96abc146
children
line source
1 # SliTaz package receipt.
3 PACKAGE="atkmm"
4 VERSION="2.28.2"
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.xz"
11 WEB_SITE="https://www.gnome.org/"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="atk libsigc++"
15 BUILD_DEPENDS="atk-dev glibmm-dev libsigc++-dev meson"
17 current_version()
18 {
19 wget -O - https://gitlab.gnome.org/GNOME/atkmm/-/tags 2>/dev/null | \
20 sed '/tar.gz/!d;s|.*/atkmm-\(.*\).tar.gz".*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 meson build \
27 --prefix=/usr \
28 --libdir=lib \
29 --bindir=/usr/bin \
30 --sbindir=/usr/sbin \
31 --buildtype=release &&
32 ninja -C build &&
33 ninja -C build install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }