Mercurial > mxe-octave
annotate src/libmodbus.mk @ 7220:d3087afece14 default tip @
* src/gdal.mk, src/xcb.mk: disable doxygen docs
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 22 May 2024 10:31:54 -0400 |
parents | 31493bde29c1 |
children |
rev | line source |
---|---|
6282 | 1 PKG := libmodbus |
2 $(PKG)_IGNORE := | |
6567
31493bde29c1
* src/libmodbus.mk: update to v3.1.10
John Donoghue <john.donoghue@ieee.org>
parents:
6557
diff
changeset
|
3 $(PKG)_VERSION := 3.1.10 |
31493bde29c1
* src/libmodbus.mk: update to v3.1.10
John Donoghue <john.donoghue@ieee.org>
parents:
6557
diff
changeset
|
4 $(PKG)_CHECKSUM := f6b7a004b840ac57821bd673d655c027ccd0ee24 |
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 |