Merge pull request #2 from Waester/sipe

Add libsipe support
This commit is contained in:
ezkrg
2018-08-17 17:48:58 +02:00
committed by GitHub

View File

@@ -30,6 +30,7 @@ RUN apk add --no-cache --update libpurple \
glib-dev \ glib-dev \
protobuf-c-dev \ protobuf-c-dev \
mercurial \ mercurial \
libxml2-dev \
&& cd /tmp \ && cd /tmp \
&& git clone https://github.com/bitlbee/bitlbee.git \ && git clone https://github.com/bitlbee/bitlbee.git \
&& cd bitlbee \ && cd bitlbee \
@@ -77,6 +78,14 @@ RUN apk add --no-cache --update libpurple \
&& make \ && make \
&& make install \ && make install \
&& strip /usr/lib/purple-2/libslack.so \ && strip /usr/lib/purple-2/libslack.so \
&& cd /tmp \
&& git clone https://github.com/tieto/sipe.git \
&& cd sipe \
&& ./autogen.sh \
&& ./configure --build=x86_64-alpine-linux-musl --host=x86_64-alpine-linux-musl --prefix=/usr \
&& make \
&& make install \
&& strip /usr/lib/purple-2/libsipe.so \
&& rm -rf /tmp/* \ && rm -rf /tmp/* \
&& rm -rf /usr/include/bitlbee \ && rm -rf /usr/include/bitlbee \
&& rm -f /usr/lib/pkgconfig/bitlbee.pc \ && rm -f /usr/lib/pkgconfig/bitlbee.pc \