app=ijs
version=0.35
build=1sml
homepage="https://www.openprinting.org/download/ijs/"
download="https://www.openprinting.org/download/ijs/download/ijs-$version.tar.bz2"
desc="print library for transmission of raster page images"
requires="musl"

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version 
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --mandir=/share/man \
    --enable-shared \
    --disable-static \
    $builddist

  make
  make install DESTDIR=$pkg 

  cp README $pkgdocs/

  mkfinalpkg
}

sha512sums="
b5f8df6fe394efea4ee7059c1ca8d7eb91588f060642da12f6591f0f40d169883aa9f7a6976a00042c89dd370b30f36afc407c4e7515cbd68537505a63c9a293  ijs-0.35.tar.bz2
"
