File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,11 +83,11 @@ WXCONFIG= wx-config --unicode=yes
8383endif
8484
8585# Which command to use for download ?
86- CURL =$(shell which curl 2>/dev/null)
87- ifneq ($(CURL ) ,)
88- DOWNLOAD_COMMAND =curl -L -O
89- else
86+ WGET =$(shell which wget 2>/dev/null)
87+ ifneq ($(WGET ) ,)
9088DOWNLOAD_COMMAND =wget
89+ else
90+ DOWNLOAD_COMMAND =curl -L -O
9191endif
9292
9393# If using glut (freeglut)
@@ -212,13 +212,13 @@ else
212212libfreeglut =
213213endif
214214
215- $(BUILD_DIR ) /wxWidgets-3.0.2 .tar.bz2 :
216- cd $(BUILD_DIR ) && $(DOWNLOAD_COMMAND ) http ://ftp.wxwidgets.org/pub/3 .0.2 /wxWidgets-3.0.2 .tar.bz2
215+ $(BUILD_DIR ) /wxWidgets-3.0.4 .tar.bz2 :
216+ cd $(BUILD_DIR ) && $(DOWNLOAD_COMMAND ) https ://github.com/wxWidgets/wxWidgets/releases/download/v3 .0.4 /wxWidgets-3.0.4 .tar.bz2
217217
218- $(BUILD_DIR ) /static-libs/include/wx-3.0/wx/wx.h : $(BUILD_DIR ) /wxWidgets-3.0.2 .tar.bz2
219- cd $(BUILD_DIR ) && rm -Rf wxWidgets-3.0.2 && tar -xjf wxWidgets-3.0.2 .tar.bz2
220- cd $(BUILD_DIR ) /wxWidgets-3.0.2 && ./configure --with-gtk --with-opengl --prefix=$(BUILD_DIR ) /static-libs --enable-unicode --enable-optimise --disable-shared --x-includes=/usr/X11R6/include/ && $(MAKE ) install
221- rm -Rf $(BUILD_DIR ) /wxWidgets-3.0.2
218+ $(BUILD_DIR ) /static-libs/include/wx-3.0/wx/wx.h : $(BUILD_DIR ) /wxWidgets-3.0.4 .tar.bz2
219+ cd $(BUILD_DIR ) && rm -Rf wxWidgets-3.0.4 && tar -xjf wxWidgets-3.0.4 .tar.bz2
220+ cd $(BUILD_DIR ) /wxWidgets-3.0.4 && ./configure --with-gtk --with-opengl --prefix=$(BUILD_DIR ) /static-libs --enable-unicode --enable-optimise --disable-shared --x-includes=/usr/X11R6/include/ && $(MAKE ) install
221+ rm -Rf $(BUILD_DIR ) /wxWidgets-3.0.4
222222
223223ifneq ($(wxcryst ) ,0)
224224ifneq ($(shared-wxgtk ) ,1)
You can’t perform that action at this time.
0 commit comments