mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
[docker] updated files for djgpp
This commit is contained in:
parent
f03d1ea44d
commit
8c6d8d3529
@ -5,7 +5,7 @@
|
|||||||
# [*] base system
|
# [*] base system
|
||||||
|
|
||||||
# get latest fedora
|
# get latest fedora
|
||||||
FROM fedora:latest
|
FROM fedora:37
|
||||||
|
|
||||||
# prepare system
|
# prepare system
|
||||||
RUN dnf -y update && dnf -y install bash wget \
|
RUN dnf -y update && dnf -y install bash wget \
|
||||||
@ -29,7 +29,7 @@ wget http://ftp.delorie.com/pub/djgpp/current/v2apps/xz-525a.zip; \
|
|||||||
wget http://ftp.delorie.com/pub/djgpp/current/v2apps/bz2-108a.zip; \
|
wget http://ftp.delorie.com/pub/djgpp/current/v2apps/bz2-108a.zip; \
|
||||||
wget https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.3/apps/sqlite.zip; \
|
wget https://www.ibiblio.org/pub/micro/pc-stuff/freedos/files/repositories/1.3/apps/sqlite.zip; \
|
||||||
wget http://ftp.delorie.com/pub/djgpp/current/v2gnu/licv116b.zip; \
|
wget http://ftp.delorie.com/pub/djgpp/current/v2gnu/licv116b.zip; \
|
||||||
wget http://ftp.delorie.com/pub/djgpp/current/v2gnu/lidn138b.zip; \
|
wget http://ftp.delorie.com/pub/djgpp/current/v2gnu/lidn138b.zip;
|
||||||
|
|
||||||
RUN cd /root/zip; \
|
RUN cd /root/zip; \
|
||||||
mkdir tmp; unzip expat20br2.zip -d tmp; cp -a tmp/include /usr/local/; cp -a tmp/lib /usr/local; rm -rf tmp; \
|
mkdir tmp; unzip expat20br2.zip -d tmp; cp -a tmp/include /usr/local/; cp -a tmp/lib /usr/local; rm -rf tmp; \
|
||||||
@ -48,9 +48,9 @@ sed -i -e 's/Libs\.private/#Libs.private/' /usr/local/lib/pkgconfig/sqlite3.pc
|
|||||||
|
|
||||||
# openssl
|
# openssl
|
||||||
RUN dnf -y install perl-FindBin; mkdir /root/tmp; cd /root/tmp; \
|
RUN dnf -y install perl-FindBin; mkdir /root/tmp; cd /root/tmp; \
|
||||||
wget https://www.openssl.org/source/openssl-1.1.1q.tar.gz; \
|
wget https://www.openssl.org/source/openssl-1.1.1s.tar.gz; \
|
||||||
tar -xf openssl-1.1.1q.tar.gz; \
|
tar -xf openssl-1.1.1s.tar.gz; \
|
||||||
cd openssl-1.1.1q; \
|
cd openssl-1.1.1s; \
|
||||||
CFLAGS="-I/usr/local/include -DWATT32_NO_OLDIES -DSHUT_RD=0 -L/usr/local/lib -fcommon" \
|
CFLAGS="-I/usr/local/include -DWATT32_NO_OLDIES -DSHUT_RD=0 -L/usr/local/lib -fcommon" \
|
||||||
./Configure no-threads \
|
./Configure no-threads \
|
||||||
no-tests \
|
no-tests \
|
||||||
|
@ -4,7 +4,11 @@ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
|
|||||||
|
|
||||||
NOCONFIGURE=1 ./autogen.sh
|
NOCONFIGURE=1 ./autogen.sh
|
||||||
|
|
||||||
CPPFLAGS="-I/usr/local/include/libxml2" ./configure --host=i586-pc-msdosdjgpp --enable-static=yes --enable-shared=no
|
CPPFLAGS="-I/usr/local/include/libxml2" ./configure \
|
||||||
|
--host=i586-pc-msdosdjgpp \
|
||||||
|
--enable-static=yes \
|
||||||
|
--enable-shared=no \
|
||||||
|
--disable-documentation
|
||||||
|
|
||||||
make -j12
|
make -j12
|
||||||
|
|
||||||
|
@ -19,6 +19,7 @@ meson /tmp/builddir --cross-file cross/linux-djgpp.txt \
|
|||||||
-Dcss=true \
|
-Dcss=true \
|
||||||
-Dcombining=false \
|
-Dcombining=false \
|
||||||
-Ddgi=true \
|
-Ddgi=true \
|
||||||
|
-Dexmode=true \
|
||||||
-Dfastmem=true \
|
-Dfastmem=true \
|
||||||
-Dfsp=false \
|
-Dfsp=false \
|
||||||
-Dgemini=true \
|
-Dgemini=true \
|
||||||
@ -46,6 +47,7 @@ meson /tmp/builddir --cross-file cross/linux-djgpp.txt \
|
|||||||
-Dspidermonkey=false \
|
-Dspidermonkey=false \
|
||||||
-Dstatic=true \
|
-Dstatic=true \
|
||||||
-Dterminfo=false \
|
-Dterminfo=false \
|
||||||
|
-Dtest=false \
|
||||||
-Dtre=false \
|
-Dtre=false \
|
||||||
-Dtrue-color=false \
|
-Dtrue-color=false \
|
||||||
-Dutf-8=false \
|
-Dutf-8=false \
|
||||||
|
@ -20,6 +20,7 @@ meson /tmp/builddir2 --cross-file cross/linux-djgpp.txt \
|
|||||||
-Dcss=true \
|
-Dcss=true \
|
||||||
-Dcombining=false \
|
-Dcombining=false \
|
||||||
-Ddgi=true \
|
-Ddgi=true \
|
||||||
|
-Dexmode=true \
|
||||||
-Dfastmem=true \
|
-Dfastmem=true \
|
||||||
-Dfsp=false \
|
-Dfsp=false \
|
||||||
-Dgemini=true \
|
-Dgemini=true \
|
||||||
@ -47,6 +48,7 @@ meson /tmp/builddir2 --cross-file cross/linux-djgpp.txt \
|
|||||||
-Dspidermonkey=false \
|
-Dspidermonkey=false \
|
||||||
-Dstatic=true \
|
-Dstatic=true \
|
||||||
-Dterminfo=false \
|
-Dterminfo=false \
|
||||||
|
-Dtest=false \
|
||||||
-Dtre=false \
|
-Dtre=false \
|
||||||
-Dtrue-color=false \
|
-Dtrue-color=false \
|
||||||
-Dutf-8=false \
|
-Dutf-8=false \
|
||||||
|
Loading…
Reference in New Issue
Block a user