annotate src/libtasn1.mk @ 5534:372ea4c0afb2

Move of-ocs PKG_XXXX to inst dir and add break patch * src/of-ocs-3-break-fixes.patch, src/of-ocs-4-pkgadd-fixes.patch: new files * dist-files.mk: add ref to files
author John Donoghue <john.donoghue@ieee.org>
date Sun, 13 Sep 2020 08:15:14 -0400
parents aaa7564b2ecf
children 1c2c98b13bb4
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
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
4 $(PKG)_VERSION := 4.16.0
aaa7564b2ecf Add libtasn1
John Donoghue <john.donoghue@ieee.org>
parents:
diff changeset
5 $(PKG)_CHECKSUM := f4f1fc301c0835389d9db7754815e48f4f57937a
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