utils/imagemagick/ndmake.sh
$ cat ndmake.sh
#!/bin/sh -ue
NAME=imagemagick
VERSION=git
RELEASE=1
SOURCE="https://github.com/Imagemagick/imagemagick"
build() {
CC=clang ./configure \
--enable-static \
--disable-shared \
--disable-installed \
--without-x \
--with-gnu-ld=no \
--without-perl \
--without-magick-plus-plus \
--without-modules \
--disable-docs \
--with-quantum-depth=8 \
--disable-hdri \
--with-threads \
--enable-openmp \
--disable-dpc \
--disable-deprecated \
--without-xml \
--without-zip \
--without-fontconfig \
--without-freetype \
--without-pango \
--without-gslib \
--without-djvu \
--without-fftw \
--without-autotrace \
--without-heic \
--without-jxl \
--without-openexr \
--without-uhdr \
--without-bzlib \
--without-lzma \
--without-zstd \
--without-openjp2 \
--without-lcms \
--without-lqr \
--without-wmf \
--without-flif \
--without-dmr \
--with-security-policy=secure
gmake PREFIX="$PREFIX" -j"$NPROC"
gmake PREFIX="$PREFIX" DESTDIR="$PKG" install
}
. ${0%/*}/../../libsh/libdmake.sh
