Mercurial > mxe-octave
annotate src/libmodbus.mk @ 6540:ff8c281debae
LLVM: Update to version 15.0.5.
* src/llvm.mk: Update version and checksum. Download and extract tarball with
cmake files. Disable building benchmarks. Use two spaces for indentation.
Adjust for library name containing version suffix now.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sun, 20 Nov 2022 15:04:15 +0100 |
parents | 4b8764444acb |
children | 863e808b3cc2 |
rev | line source |
---|---|
6282 | 1 PKG := libmodbus |
2 $(PKG)_IGNORE := | |
6391
20425046a8fe
* src/libmodbus.mk: update to v3.1.8, update download link
John Donoghue <john.donoghue@ieee.org>
parents:
6282
diff
changeset
|
3 $(PKG)_VERSION := 3.1.8 |
20425046a8fe
* src/libmodbus.mk: update to v3.1.8, update download link
John Donoghue <john.donoghue@ieee.org>
parents:
6282
diff
changeset
|
4 $(PKG)_CHECKSUM := 9c18293b78217338cdbf062d3c7c6eeef3bc6822 |
6282 | 5 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
6 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz | |
6391
20425046a8fe
* src/libmodbus.mk: update to v3.1.8, update download link
John Donoghue <john.donoghue@ieee.org>
parents:
6282
diff
changeset
|
7 $(PKG)_URL := https://github.com/stephane/$(PKG)/archive/refs/tags/v$($(PKG)_VERSION).tar.gz |
6282 | 8 $(PKG)_DEPS := |
9 | |
10 define $(PKG)_UPDATE | |
6510
4b8764444acb
Create common github call define and start using it
John Donoghue <john.donoghue@ieee.org>
parents:
6391
diff
changeset
|
11 $(call GITHUB_PKG_UPDATE,stephane,libmodbus,v) |
6282 | 12 endef |
13 | |
14 define $(PKG)_BUILD | |
6391
20425046a8fe
* src/libmodbus.mk: update to v3.1.8, update download link
John Donoghue <john.donoghue@ieee.org>
parents:
6282
diff
changeset
|
15 cd '$(1)' && ./autogen.sh && ./configure \ |
6282 | 16 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
17 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
18 $(ENABLE_SHARED_OR_STATIC) \ | |
19 --without-debug \ | |
20 --prefix='$(HOST_PREFIX)' \ | |
21 && $(CONFIGURE_POST_HOOK) | |
22 | |
23 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS) | |
24 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_DOCS) $(MXE_DISABLE_PROGS) DESTDIR='$(3)' | |
25 endef | |
26 |