annotate src/libcroco.mk @ 7207:9ed6500e56d3 default tip @

maint: Merge release to default.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 17 May 2024 20:16:41 +0200
parents d3a47a9a1413
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2333
f653602a0500 Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents: 1499
diff changeset
1 # This file is part of MXE.
2353
99516e73b368 Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents: 2349
diff changeset
2 # See index.html for further information.
810
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 PKG := libcroco
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 $(PKG)_IGNORE :=
3480
13be64f9f16d move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents: 3048
diff changeset
6 $(PKG)_VERSION := 0.6.2
810
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_CHECKSUM := 4b0dd540a47f2492b1ac7cd7e3ec63c2ef4c9c2a
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 810
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
810
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_URL := http://ftp.gnome.org/pub/GNOME/sources/libcroco/$(call SHORT_PKG_VERSION,$(PKG))/$($(PKG)_FILE)
3048
5ef49fb3299d treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents: 3013
diff changeset
11 $(PKG)_DEPS := glib libxml2
810
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
5514
d3a47a9a1413 * src/libcroco.mk: fix update rule
John Donoghue <john.donoghue@ieee.org>
parents: 4710
diff changeset
14 $(WGET) -q -O- 'https://gitlab.gnome.org/GNOME/libcroco/tags' | \
d3a47a9a1413 * src/libcroco.mk: fix update rule
John Donoghue <john.donoghue@ieee.org>
parents: 4710
diff changeset
15 $(SED) -n "s,.*<a [^>]\+>v\?\([0-9]\+\.[0-9.]\+\)<.*,\1,p" | \
d3a47a9a1413 * src/libcroco.mk: fix update rule
John Donoghue <john.donoghue@ieee.org>
parents: 4710
diff changeset
16 head -1
810
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 endef
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 define $(PKG)_BUILD
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 cd '$(1)' && ./configure \
3013
bcc26ffe9a0f use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents: 3012
diff changeset
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
2855
47558e958113 Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents: 2525
diff changeset
22 $(ENABLE_SHARED_OR_STATIC) \
3012
100e618349f7 Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents: 2855
diff changeset
23 --prefix='$(HOST_PREFIX)' \
810
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --disable-gtk-doc
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 $(MAKE) -C '$(1)' -j '$(JOBS)' install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
8fa7fa96f6c8 new package: libcroco
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 endef