1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

deps: install ethercat via Git

This commit is contained in:
Steffen Vogel 2021-09-17 14:32:27 +02:00
parent d6b2aea51e
commit 9ffb6095ff
7 changed files with 10 additions and 10 deletions

View file

@ -118,12 +118,12 @@ fi
# Build & Install EtherLab
if [ -z "${SKIP_ETHERLAB}" ]; then
hg clone --branch stable-1.5 http://hg.code.sf.net/p/etherlabmaster/code etherlab
pushd etherlab
git clone --branch stable-1.5 --depth 1 https://gitlab.com/etherlab.org/ethercat.git
pushd ethercat
./bootstrap
./configure --enable-userlib=yes --enable-kernel=no ${CONFIGURE_OPTS}
if [ -z "${PACKAGE}" ]; then
make ${MAKE_OPTS} install
make ${MAKE_OPTS} ${TARGET}
else
wget https://etherlab.org/download/ethercat/ethercat-1.5.2.tar.bz2
cp ethercat-1.5.2.tar.bz2 ~/rpmbuild/SOURCES
@ -182,7 +182,7 @@ if ! pkg-config "libuldaq >= 1.2.0" && \
make ${MAKE_OPTS} install
else
make dist
cp fedora/uldaq_ldconfig.patch libuldaq-1.1.2.tar.gz ~/rpmbuild/SOURCES
cp fedora/uldaq_ldconfig.patch libuldaq-1.2.0.tar.gz ~/rpmbuild/SOURCES
rpmbuild -ba fedora/uldaq.spec
fi
popd

View file

@ -34,7 +34,7 @@ RUN apk update && \
apk add gcc g++ \
pkgconf cmake make \
autoconf automake libtool \
git mercurial \
git \
flex bison \
protobuf \
file

View file

@ -39,7 +39,7 @@ RUN dnf -y install \
pkgconfig cmake make \
autoconf automake autogen libtool \
flex bison \
texinfo git mercurial curl tar \
texinfo git curl tar \
protobuf-compiler protobuf-c-compiler
# Dependencies

View file

@ -36,7 +36,7 @@ RUN apt-get update && \
gcc g++ \
pkg-config cmake make \
autoconf automake autogen libtool \
texinfo git mercurial curl tar wget diffutils \
texinfo git curl tar wget diffutils \
flex bison \
protobuf-compiler protobuf-c-compiler

View file

@ -42,7 +42,7 @@ RUN apt-get update && \
crossbuild-essential-${ARCH} \
pkg-config make \
autoconf automake autogen libtool \
texinfo git mercurial curl tar wget diffutils \
texinfo git curl tar wget diffutils \
flex bison \
protobuf-compiler protobuf-c-compiler

View file

@ -32,7 +32,7 @@ RUN dnf -y install \
gcc gcc-c++ \
pkgconfig cmake make \
autoconf automake autogen libtool \
texinfo git mercurial curl tar \
texinfo git curl tar \
flex bison \
protobuf-compiler protobuf-c-compiler

View file

@ -36,7 +36,7 @@ RUN apt-get update && \
gcc g++ \
pkg-config cmake make \
autoconf automake autogen libtool \
texinfo git mercurial curl tar wget diffutils \
texinfo git curl tar wget diffutils \
flex bison \
protobuf-compiler protobuf-c-compiler