annotate src/libtasn1.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 d6336efdbcd5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5448
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
1 # This file is part of MXE. See LICENSE.md for licensing information.
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
2
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
3 PKG := libtasn1
6377
d6336efdbcd5 * src/libtasn1.mk: update to v4.19.0
John Donoghue <john.donoghue@ieee.org>
parents: 5968
diff changeset
4 $(PKG)_VERSION := 4.19.0
d6336efdbcd5 * src/libtasn1.mk: update to v4.19.0
John Donoghue <john.donoghue@ieee.org>
parents: 5968
diff changeset
5 $(PKG)_CHECKSUM := 9c4b6616de65513a0a4d27e0b7f25184391ca8fd
5448
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
6 $(PKG)_SUBDIR := libtasn1-$($(PKG)_VERSION)
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
7 $(PKG)_FILE := libtasn1-$($(PKG)_VERSION).tar.gz
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
8 $(PKG)_URL := https://ftp.gnu.org/gnu/libtasn1/$($(PKG)_FILE)
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
9 $(PKG)_DEPS :=
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
10
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
11 define $(PKG)_UPDATE
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
12 $(WGET) -q -O- https://ftp.gnu.org/gnu/libtasn1/ | \
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
13 $(SED) -n 's,.*libtasn1-\([1-9]\+\(\.[0-9]\+\)\+\).*,\1,p' | \
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
14 $(SORT) -V | \
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
15 tail -1
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
16 endef
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
17
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
18 define $(PKG)_BUILD
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
19 cd '$(1)' && ./configure \
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
20 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
21 $(ENABLE_SHARED_OR_STATIC) \
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
22 --prefix='$(HOST_PREFIX)'
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
23 $(MAKE) -C '$(1)' -j '$(JOBS)'
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
24 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)'
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
25 endef