Mercurial > mxe-octave
comparison src/dri2proto.mk @ 4486:7467937cb7bf
dri2proto, glproto, libdrm, libxshmfence: New packages.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Oct 2017 10:34:32 -0400 |
parents | |
children | 58de4f56c797 |
comparison
equal
deleted
inserted
replaced
4485:86176b88d1f8 | 4486:7467937cb7bf |
---|---|
1 # This file is part of MXE. | |
2 # See index.html for further information. | |
3 | |
4 PKG := dri2proto | |
5 $(PKG)_IGNORE := | |
6 $(PKG)_VERSION := 2.8 | |
7 $(PKG)_CHECKSUM := 449592d4666022b767f1ab13265162cfea4664d5 | |
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz | |
10 $(PKG)_URL := https://www.x.org/releases/individual/proto/$($(PKG)_FILE) | |
11 $(PKG)_DEPS := | |
12 | |
13 ifeq ($(MXE_WINDOWS_BUILD),yes) | |
14 define $(PKG)_BUILD | |
15 endef | |
16 else | |
17 define $(PKG)_BUILD | |
18 mkdir '$(1)/.build' | |
19 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ | |
20 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ | |
21 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ | |
22 --prefix='$(HOST_PREFIX)' \ | |
23 && $(CONFIGURE_POST_HOOK) | |
24 | |
25 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' | |
26 endef | |
27 endif |