summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@xcc.kaivo.net>2018-11-12 20:21:52 -0500
committerJakob Kaivo <jkk@xcc.kaivo.net>2018-11-12 20:21:52 -0500
commit6c6528e3a508c8ab357b58e9744dd86ebf3e6914 (patch)
tree8c1a9e2b071eca0ec864c17a7383b04bf635dcf8 /README.md
parentb512299c974d6114d45069c8e87ca6b5429bee89 (diff)
automate dependency building
Diffstat (limited to 'README.md')
-rw-r--r--README.md36
1 files changed, 5 insertions, 31 deletions
diff --git a/README.md b/README.md
index 253bd2d..4bf30b5 100644
--- a/README.md
+++ b/README.md
@@ -13,38 +13,12 @@ with:
Image support is provided by ImageMagick, which in turn depends on libpng,
which in turn depends on zlib. The eOneBook already has dynamic libraries for
-zlib and libpng installed, but you still need them installed in your
-cross-compilation environment so ImageMagick knows they will be there.
+libpng installed, but you still need them installed in your cross-compilation
+environment so ImageMagick knows they will be there. A make target is included
+to simplify the process of installing them. If one or more is already installed
+in your cross-compilation environment, it will be skipped.
-#### zlib
-
- $ wget http://www.zlib.net/zlib-1.2.11.tar.gz
- $ tar xvzf zlib-1.2.11.tar.gz
- $ cd zlib-1.2.11
- $ CHOST=arm-linux-gnueabihf ./configure --prefix=/usr/arm-linux-gnueabihf
- $ make
- $ sudo make install
-
-#### libpng
-
- $ wget https://download.sourceforge.net/libpng/libpng-1.6.35.tar.gz
- $ tar xvzf libpng-1.6.35.tar.gz
- $ cd libpng-1.6.35
- $ ./configure --prefix=/usr/arm-linux-gnueabihf --host=arm-linux-gnueabihf
- $ make
- $ sudo make install
-
-#### ImageMagick
-
-ImageMagick is not installed on the eOneBook, so we'll configure it to build
-as a static library.
-
- $ wget https://imagemagick.org/download/ImageMagick.tar.gz
- $ tar xvzf ImageMagick.tar.gz
- $ cd ImageMagick-7.0.8-14
- $ PKG_CONFIG_PATH=/usr/arm-linux-gnueabihf/lib/pkgconfig ./configure --host=arm-linux-gnueabihf --without-utilities --disable-openmp --disable-shared --prefix=/usr/arm-linux-gnueabihf
- $ make
- $ sudo make install
+ $ make install-deps
### freeonebook