annotate src/libtasn1.mk @ 6215:d18a5545df0d release

build-gettext: Don't build emacs bindings. * src/build-gettext.mk: The `emacs` installed on the build system might be incompatible with the STL built by build-gcc. We probably don't need the emacs bindings for the `gettext` build tool anyway. So skip building those bindings.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 07 May 2022 12:01: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