mirror of
https://github.com/TokTok/c-toxcore
synced 2026-05-27 11:49:16 +00:00
d408c98209
For backwards compatibility, we also `#include "tox_options.h"` in `tox.h`, but in 0.3.0 we can break that so most toxcore client code doesn't need the options, only the part that creates the instance.
15 lines
420 B
Docker
15 lines
420 B
Docker
FROM toxchat/pkgsrc:latest
|
|
|
|
WORKDIR /work
|
|
COPY . /work/c-toxcore-0.2.20
|
|
RUN ["tar", "zcf", "c-toxcore.tar.gz", "c-toxcore-0.2.20"]
|
|
|
|
WORKDIR /work/pkgsrc
|
|
COPY other/docker/pkgsrc/pkgsrc.patch /tmp/pkgsrc.patch
|
|
RUN ["patch", "-p1", "-i", "/tmp/pkgsrc.patch"]
|
|
|
|
WORKDIR /work/pkgsrc/chat/toxcore
|
|
RUN ["bmake", "clean"]
|
|
RUN ["bmake", "DISTFILES=c-toxcore.tar.gz", "DISTDIR=/work", "NO_CHECKSUM=yes"]
|
|
RUN ["bmake", "install"]
|