Mercurial > mxe-octave
annotate src/libproxy.mk @ 6359:b68148d8be7b
* src/mesa.mk: update to v22.1.5
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 10 Aug 2022 15:18:27 -0400 |
parents | 950041ceb783 |
children | 4b8764444acb |
rev | line source |
---|---|
4523 | 1 # This file is part of MXE. |
2 # See index.html for further information. | |
3 | |
4 PKG := libproxy | |
5 $(PKG)_IGNORE := | |
6312
950041ceb783
* src/libproxy.mk: update to v0.4.18
John Donoghue <john.donoghue@ieee.org>
parents:
5631
diff
changeset
|
6 $(PKG)_VERSION := 0.4.18 |
950041ceb783
* src/libproxy.mk: update to v0.4.18
John Donoghue <john.donoghue@ieee.org>
parents:
5631
diff
changeset
|
7 $(PKG)_CHECKSUM := bbd709a204b943df0e317e37efa7c3365880ca7b |
4523 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
5615
c0f72fe8f4fe
* src/libproxy.mk: update to v0.4.16
John Donoghue <john.donoghue@ieee.org>
parents:
5571
diff
changeset
|
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.gz |
c0f72fe8f4fe
* src/libproxy.mk: update to v0.4.16
John Donoghue <john.donoghue@ieee.org>
parents:
5571
diff
changeset
|
10 $(PKG)_URL := https://github.com/libproxy/libproxy/archive/$($(PKG)_VERSION).tar.gz |
4523 | 11 $(PKG)_DEPS := |
12 | |
13 $(PKG)_CMAKE_FLAGS := | |
14 | |
15 define $(PKG)_UPDATE | |
4882 | 16 $(WGET) -q -O- 'https://github.com/libproxy/libproxy/tags' | \ |
17 $(SED) -n 's|.*releases/tag/\([0-9][^"]*\).*|\1|p' | $(SORT) -V | \ | |
18 tail -1 | |
4523 | 19 endef |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && cmake \ | |
23 $($(PKG)_CMAKE_FLAGS) \ | |
24 -DWITH_KDE=no \ | |
25 -DBUILD_TESTING=no \ | |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4882
diff
changeset
|
26 $(CMAKE_CCACHE_FLAGS) \ |
5571
b19fb3ed330c
use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents:
5541
diff
changeset
|
27 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
4523 | 28 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
29 . | |
30 | |
31 $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 | |
32 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install | |
33 | |
4531
18cde9ba832a
libproxy: fix installed .dll.a file name
John W. Eaton <jwe@octave.org>
parents:
4523
diff
changeset
|
34 ## Note error in installed .dll.a file name. |
4523 | 35 if [ $(MXE_SYSTEM) = mingw ]; then \ |
36 $(INSTALL) -d '$(3)$(HOST_BINDIR)'; \ | |
37 $(INSTALL) '$(3)$(HOST_LIBDIR)/libproxy.dll' '$(3)$(HOST_BINDIR)/'; \ | |
38 rm -f '$(3)$(HOST_LIBDIR)/libproxy.dll'; \ | |
4531
18cde9ba832a
libproxy: fix installed .dll.a file name
John W. Eaton <jwe@octave.org>
parents:
4523
diff
changeset
|
39 mv '$(3)$(HOST_LIBDIR)/liblibproxy.dll.a' '$(3)$(HOST_LIBDIR)/libproxy.dll.a'; \ |
4523 | 40 fi |
41 endef |