Skip to content
This repository has been archived by the owner on Dec 2, 2022. It is now read-only.

Commit

Permalink
Add copyright file to Debian package (#8)
Browse files Browse the repository at this point in the history
* Add copyright file to Debian package

* Reorder build args

* Fix copy commands to happen within container
  • Loading branch information
mtlynch authored Nov 16, 2022
1 parent 871542a commit 035ad29
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ RUN cp \
--no-dereference \
/usr/lib/arm-linux-gnueabihf/libnice.so* "${PKG_DIR}/"

# Add copyright file.
RUN mkdir -p "${PKG_DIR}/usr/share/doc/${PKG_NAME}"
WORKDIR "${PKG_DIR}/usr/share/doc/${PKG_NAME}"
RUN cp /usr/src/libnice/COPYING copyright && \
cp /usr/src/libnice/COPYING.LGPL . && \
cp /usr/src/libnice/COPYING.MPL .

WORKDIR "${PKG_DIR}/DEBIAN"

RUN cat > control <<EOF
Expand Down

0 comments on commit 035ad29

Please sign in to comment.