Skip to content
Permalink
6469e911bf
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 41 lines (31 sloc) 988 Bytes
#!/bin/env beesh
# BEE_VERSION imagemagick-6.9.12p44-0
#SRCURL[0]="https://github.com/ImageMagick/ImageMagick6/archive/${PKGVERSION/p/-}.tar.gz imagemagick-${PKGVERSION/p/-}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/3bb027d07785d4afb6c8c6b6777dfeeb/imagemagick-6.9.12-44.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-6/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
}