-
Notifications
You must be signed in to change notification settings - Fork 0
/
atkmm.mk
24 lines (21 loc) · 925 Bytes
/
atkmm.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := atkmm
$(PKG)_WEBSITE := https://www.gtkmm.org/
$(PKG)_DESCR := ATKmm
$(PKG)_IGNORE :=
$(PKG)_VERSION := 2.28.2
$(PKG)_CHECKSUM := a0bb49765ceccc293ab2c6735ba100431807d384ffa14c2ebd30e07993fd2fa4
$(PKG)_SUBDIR := atkmm-$($(PKG)_VERSION)
$(PKG)_FILE := atkmm-$($(PKG)_VERSION).tar.xz
$(PKG)_URL := https://download.gnome.org/sources/atkmm/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
$(PKG)_DEPS := cc meson-wrapper atk glibmm
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/atkmm/tags' | \
$(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
head -1
endef
define $(PKG)_BUILD
'$(MXE_MESON_WRAPPER)' $(MXE_MESON_OPTS) '$(BUILD_DIR)' '$(SOURCE_DIR)'
'$(MXE_NINJA)' -C '$(BUILD_DIR)' -j '$(JOBS)'
'$(MXE_NINJA)' -C '$(BUILD_DIR)' -j '$(JOBS)' install
endef