Skip to content
Permalink
b7ef5b9c45
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 40 lines (31 sloc) 984 Bytes
#!/bin/env beesh
# BEE_VERSION imagemagick-7.1.1p15-0
#SRCURL[0]="https://github.com/ImageMagick/ImageMagick/archive/${PKGVERSION/p/-}.tar.gz imagemagick-${PKGVERSION/p/-}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/03fe250e8ea4dbccd8606b212b4f33e6/imagemagick-7.1.1-15.tar.gz"
# PATCHURL[0]=""
#mee_patch() {
# bee_patch
#}
#mee_configure() {
# bee_configure
#}
#mee_build() {
# bee_build
#}
mee_install() {
bee_install
start_cmd rm -rf ${D}/${DATADIR}/doc
local tgt=${D}/etc/ImageMagick-7/policy.xml
cp -p -v ${tgt} ${tgt}.raw
xmllint --format ${tgt}.raw > ${tgt}
rm ${tgt}.raw
sed -i -e "/<\/policymap>/ d" ${tgt}
cat <<-XML >> ${tgt}
<!-- prevent GhostScript processing -->
<policy domain="coder" rights="none" pattern="PS" />
<policy domain="coder" rights="none" pattern="EPS" />
<policy domain="coder" rights="none" pattern="PDF" />
<policy domain="coder" rights="none" pattern="XPS" />
</policymap>
XML
}