1#!/bin/sh -ue
2NAME=imagemagick6
3VERSION=git
4RELEASE=1
5SOURCE="https://github.com/ImageMagick/ImageMagick6"
6
7build() {
8 CC=clang LDFLAGS="-static" ./configure \
9 --prefix="$PREFIX" \
10 --enable-static \
11 --disable-shared \
12 --enable-installed \
13 --without-x \
14 --with-gnu-ld=no \
15 --without-perl \
16 --without-magick-plus-plus \
17 --with-ttf \
18 --without-modules \
19 --disable-docs \
20 --with-quantum-depth=16 \
21 --disable-hdri \
22 --with-threads \
23 --disable-dpc \
24 --enable-deprecated \
25 --without-xml \
26 --without-zip \
27 --without-djvu \
28 --without-fftw \
29 --without-autotrace \
30 --without-jxl \
31 --without-bzlib \
32 --without-lzma \
33 --without-lcms \
34 --without-wmf \
35 --enable-static \
36 --disable-shared
37 gmake PREFIX="$PREFIX" LDFLAGS="-static -all-static" -j"$NPROC"
38 gmake PREFIX="$PREFIX" DESTDIR="$PKG" install
39}
40
41. ${0%/*}/../../libsh/libdmake.sh