-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request xbmc#24552 from fuzzard/depends_swig
[tools/depends] Bump swig 4.2.0
- Loading branch information
Showing
9 changed files
with
96 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
LIBNAME=bison | ||
VERSION=3.8.2 | ||
ARCHIVE=$(LIBNAME)-$(VERSION).tar.xz | ||
SHA512=d4d23af6671406e97257892f90651b67f2ab95219831372be032190b7156c10a3435d457857e677445df8b2327aacccc15344acbbc3808a6f332a93cce23b444 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
include ../../Makefile.include BISON-VERSION ../../download-files.include | ||
PREFIX=$(NATIVEPREFIX) | ||
PLATFORM=$(NATIVEPLATFORM) | ||
DEPS=../../Makefile.include Makefile BISON-VERSION ../../download-files.include | ||
|
||
# configuration settings | ||
CONFIGURE=./configure --prefix=$(PREFIX) | ||
|
||
LIBDYLIB=$(PLATFORM)/src/$(LIBNAME) | ||
|
||
all: .installed-$(PLATFORM) | ||
|
||
|
||
$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) | ||
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) | ||
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) | ||
cd $(PLATFORM); $(CONFIGURE) | ||
|
||
$(LIBDYLIB): $(PLATFORM) | ||
$(MAKE) -C $(PLATFORM) | ||
|
||
.installed-$(PLATFORM): $(LIBDYLIB) | ||
$(MAKE) -C $(PLATFORM) install | ||
touch $@ | ||
|
||
clean: | ||
$(MAKE) -C $(PLATFORM) clean | ||
rm -f .installed-$(PLATFORM) | ||
|
||
distclean:: | ||
rm -rf $(PLATFORM) .installed-$(PLATFORM) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
include ../../Makefile.include PCRE2-VERSION ../../download-files.include | ||
PREFIX=$(NATIVEPREFIX) | ||
PLATFORM=$(NATIVEPLATFORM) | ||
DEPS = ../../Makefile.include Makefile PCRE2-VERSION ../../download-files.include | ||
|
||
CMAKE_OPTIONS := -DPCRE2_BUILD_PCRE2GREP=OFF \ | ||
-DPCRE2_BUILD_TESTS=OFF \ | ||
-DPCRE2_SUPPORT_LIBBZ2=OFF \ | ||
-DPCRE2_SUPPORT_LIBZ=OFF \ | ||
-DPCRE2_SUPPORT_LIBEDIT=OFF \ | ||
-DPCRE2_SUPPORT_LIBREADLINE=OFF \ | ||
-DPCRE2GREP_SUPPORT_JIT=OFF \ | ||
-DPCRE2GREP_SUPPORT_CALLOUT=OFF \ | ||
-DPCRE2GREP_SUPPORT_CALLOUT_FORK=OFF | ||
|
||
LIBDYLIB=$(PLATFORM)/build/lib$(LIBNAME)-8.a | ||
|
||
all: .installed-$(PLATFORM) | ||
|
||
|
||
$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) | ||
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)/build | ||
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) | ||
cd $(PLATFORM)/build; $(CMAKE_FOR_BUILD) $(CMAKE_OPTIONS) .. | ||
|
||
$(LIBDYLIB): $(PLATFORM) | ||
$(MAKE) -C $(PLATFORM)/build | ||
|
||
.installed-$(PLATFORM): $(LIBDYLIB) | ||
$(MAKE) -C $(PLATFORM)/build install | ||
touch $@ | ||
|
||
clean: | ||
$(MAKE) -C $(PLATFORM)/build clean | ||
rm -f .installed-$(PLATFORM) | ||
|
||
distclean:: | ||
rm -rf $(PLATFORM) .installed-$(PLATFORM) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
LIBNAME=pcre2 | ||
VERSION=10.42 | ||
ARCHIVE=$(LIBNAME)-$(VERSION).tar.bz2 | ||
SHA512=72fbde87fecec3aa4b47225dd919ea1d55e97f2cbcf02aba26e5a0d3b1ffb58c25a80a9ef069eb99f9cf4e41ba9604ad06a7ec159870e1e875d86820e12256d3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,31 @@ | ||
include ../../Makefile.include | ||
include ../../Makefile.include SWIG-VERSION ../../download-files.include | ||
PREFIX=$(NATIVEPREFIX) | ||
PLATFORM=$(NATIVEPLATFORM) | ||
|
||
DEPS = ../../Makefile.include Makefile ../../download-files.include | ||
DEPS = ../../Makefile.include Makefile SWIG-VERSION ../../download-files.include | ||
|
||
# lib name, version | ||
LIBNAME=swig | ||
VERSION=4.0.2 | ||
SOURCE=$(LIBNAME)-$(VERSION) | ||
ARCHIVE=$(SOURCE).tar.gz | ||
SHA512=05e7da70ce6d9a733b96c0bcfa3c1b82765bd859f48c74759bbf4bb1467acb1809caa310cba5e2b3280cd704fca249eaa0624821dffae1d2a75097c7f55d14ed | ||
include ../../download-files.include | ||
|
||
# configuration settings | ||
CONFIGURE=./configure --prefix=$(PREFIX) --without-alllang --without-x --disable-ccache | ||
|
||
LIBDYLIB=$(PLATFORM)/swig | ||
LIBDYLIB=$(PLATFORM)/build/swig | ||
|
||
all: .installed-$(PLATFORM) | ||
|
||
|
||
$(PLATFORM): $(DEPS) | $(TARBALLS_LOCATION)/$(ARCHIVE).$(HASH_TYPE) | ||
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM) | ||
rm -rf $(PLATFORM)/*; mkdir -p $(PLATFORM)/build | ||
cd $(PLATFORM); $(ARCHIVE_TOOL) $(ARCHIVE_TOOL_FLAGS) $(TARBALLS_LOCATION)/$(ARCHIVE) | ||
cd $(PLATFORM); $(CONFIGURE) | ||
cd $(PLATFORM)/build; $(CMAKE_FOR_BUILD) $(CMAKE_OPTIONS) .. | ||
|
||
$(LIBDYLIB): $(PLATFORM) | ||
$(MAKE) -C $(PLATFORM) | ||
$(MAKE) -C $(PLATFORM)/build | ||
|
||
.installed-$(PLATFORM): $(LIBDYLIB) | ||
$(MAKE) -C $(PLATFORM) install | ||
$(MAKE) -C $(PLATFORM)/build install | ||
touch $@ | ||
|
||
clean: | ||
$(MAKE) -C $(PLATFORM) clean | ||
$(MAKE) -C $(PLATFORM)/build clean | ||
rm -f .installed-$(PLATFORM) | ||
|
||
|
||
distclean:: | ||
rm -rf $(PLATFORM) .installed-$(PLATFORM) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
LIBNAME=swig | ||
VERSION=4.2.0 | ||
ARCHIVE=$(LIBNAME)-$(VERSION).tar.gz | ||
SHA512=b7f508b25bc6e882ed6123f6c7ad12b02a7b74de09ac6e5789968e9c2f51407d1e3dafd5ea495087b4fb0f447ecce17e6070471479c67c4265166d8342a10862 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters