annotate src/libtasn1.mk @ 6213:5f64fb928091 release

build-gcc: Avoid library clash when calling msgfmt. * src/build-gcc-1-msgfmt.patch: Don't use libraries from the build tree when calling `msgfmt`. * dist-files.mk: Add patch to list.
author Markus Mützel <markus.muetzel@gmx.de>
date Fri, 06 May 2022 19:36:10 +0200
parents 2b5340bcc42c
children d6336efdbcd5
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
5968
2b5340bcc42c * src/libtasn1.mk: update to v4.18
John Donoghue <john.donoghue@ieee.org>
parents: 5764
diff changeset
4 $(PKG)_VERSION := 4.18.0
2b5340bcc42c * src/libtasn1.mk: update to v4.18
John Donoghue <john.donoghue@ieee.org>
parents: 5764
diff changeset
5 $(PKG)_CHECKSUM := 1665249ce66e64958e8c61d5bdc6c1e9f3623888
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