6727
|
1 # This file is part of MXE. |
|
2 # See index.html for further information. |
|
3 |
|
4 PKG := randrproto |
|
5 $(PKG)_IGNORE := |
|
6 $(PKG)_VERSION := 1.5.0 |
|
7 $(PKG)_CHECKSUM := bc420745dc4af011988e9dcabdadf8829cbc2374 |
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 |
|
10 |
|
11 $(PKG)_URL := http://www.x.org/archive/individual/proto/$($(PKG)_FILE) |
|
12 $(PKG)_DEPS := |
|
13 |
|
14 ifeq ($(MXE_WINDOWS_BUILD),yes) |
|
15 define $(PKG)_BUILD |
|
16 endef |
|
17 else |
|
18 define $(PKG)_BUILD |
|
19 mkdir '$(1)/.build' |
|
20 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ |
|
21 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
|
22 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
|
23 --prefix='$(HOST_PREFIX)' \ |
|
24 && $(CONFIGURE_POST_HOOK) |
|
25 |
|
26 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' |
|
27 endef |
|
28 endif |