Skip to content
Permalink
a090ea8ee7
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 37 lines (28 sloc) 1019 Bytes
#!/bin/env beesh
# BEE_VERSION ghostscript-10.01.1-0
XPKGVERSION_COMPACT=$(echo ${PKGVERSION} | tr -d '.')
#SRCURL[0]="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${XPKGVERSION_COMPACT}/ghostscript-${PKGVERSION}.tar.gz"
SRCURL[0]="https://beehive.molgen.mpg.de/9e2d94ab40c4580d04b3221c3f78934a/ghostscript-10.01.1.tar.gz"
build_in_sourcedir
mee_patch() {
bee_patch "${@}"
sed -i 's/ZLIBDIR=src/ZLIBDIR=$includedir/' configure.ac configure
rm -rf freetype lcms2 jpeg libpng openjpeg
# sed -i 's/gscms_transformm_color_const/gscms_transform_color_const/' base/gsicc_lcms2.c
}
mee_configure() {
bee_configure \
--with-drivers=ALL,x11 \
--with-system-libtiff \
--disable-compile-inits
}
mee_build() {
bee_build
start_cmd make ${BEE_MAKEFLAGS} so
}
mee_install() {
bee_install soinstall
install -v -m644 base/*.h ${D}/${INCLUDEDIR}/ghostscript &&
ln -v -s ghostscript ${D}/${INCLUDEDIR}/ps
cd ${D} && rm -rf usr/share/doc
}