3743
|
1 # This file is part of MXE. |
|
2 # See index.html for further information. |
|
3 |
|
4 PKG := damageproto |
|
5 $(PKG)_IGNORE := |
|
6 $(PKG)_VERSION := 1.2.1 |
|
7 $(PKG)_CHECKSUM := 6df5eccd2914ecb7c24ec0099b477aa5943c22ab |
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
|
10 $(PKG)_URL := http://xorg.freedesktop.org/archive/individual/proto/$($(PKG)_FILE) |
|
11 $(PKG)_DEPS := |
|
12 |
4384
|
13 define $(PKG)_UPDATE |
|
14 echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2; |
|
15 echo $($(PKG)_VERSION) |
|
16 endef |
|
17 |
3743
|
18 ifeq ($(MXE_WINDOWS_BUILD),yes) |
|
19 define $(PKG)_BUILD |
|
20 endef |
|
21 else |
|
22 define $(PKG)_BUILD |
|
23 mkdir '$(1)/.build' |
|
24 cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ |
|
25 $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ |
|
26 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
|
27 --prefix='$(HOST_PREFIX)' \ |
|
28 && $(CONFIGURE_POST_HOOK) |
|
29 |
|
30 $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)' |
|
31 endef |
|
32 endif |