Files

12 lines
490 B
Python
Executable File

#!/usr/bin/env modbuild
# Plain autotools build: default hooks run ./configure --prefix=$PREFIX,
# make -j, make install. Delegates (png/jpeg/tiff/...) auto-enable from
# whatever -devel RPMs exist on the build host; `magick -list format`
# shows what got in.
pbuild::post_install() {
# modbuild has no errexit in hooks - without this a failed make still installs the modulefile
[[ -x "$PREFIX/bin/magick" ]] || std::die 42 "magick binary missing - configure/make failed above"
}