4507
|
1 # This file is part of MXE. |
|
2 # See index.html for further information. |
|
3 |
|
4 PKG := s2tc |
|
5 $(PKG)_IGNORE := |
|
6 $(PKG)_VERSION := 1.0 |
|
7 $(PKG)_CHECKSUM := 08295ae27abe2718f7be01f490e7a08353060291 |
|
8 $(PKG)_SUBDIR := s2tc-$($(PKG)_VERSION) |
|
9 $(PKG)_FILE := s2tc-$($(PKG)_VERSION).zip |
|
10 $(PKG)_URL := https://github.com/divVerent/s2tc/archive/v$($(PKG)_VERSION).zip |
|
11 $(PKG)_DEPS := |
|
12 |
|
13 ifeq ($(MXE_WINDOWS_BUILD),yes) |
|
14 define $(PKG)_BUILD |
|
15 endef |
|
16 else |
|
17 define $(PKG)_BUILD |
|
18 cd '$(1)' && ./autogen.sh |
|
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 |