compile shntool

This commit is contained in:
sparklyballs 2016-08-28 00:07:55 +01:00
parent 16286a7337
commit 316997027c

View file

@ -5,10 +5,39 @@ MAINTAINER smdion <me@seandion.com> ,sparklyballs
RUN \ RUN \
apk add --no-cache \ apk add --no-cache \
ffmpeg \ ffmpeg \
mc && \ mc
apk add --no-cache --repository \
http://nl.alpinelinux.org/alpine/edge/testing \ # install build packages
shntool RUN \
apk add --no-cache --virtual=build-dependencies \
g++ \
gcc \
make && \
# compile shntool
mkdir -p \
/tmp/shntool && \
curl -o \
/tmp/shntool-src-tar.gz -L \
http://www.etree.org/shnutils/shntool/dist/src/shntool-3.0.10.tar.gz && \
tar xf /tmp/shntool-src-tar.gz -C \
/tmp/shntool --strip-components=1 && \
cd /tmp/shntool && \
./configure \
--infodir=/usr/share/info \
--localstatedir=/var \
--mandir=/usr/share/man \
--prefix=/usr \
--sysconfdir=/etc && \
make && \
make install && \
# cleanup
apk del --purge \
build-dependencies && \
rm -rf \
/tmp/* \
/usr/lib/*.la
# add local files # add local files
COPY root/ / COPY root/ /