APP=ijs
VERSION=0.35
BUILD=1sml
HOMEPAGE='https://www.openprinting.org/download/ijs/'
DOWNLOAD='https://www.openprinting.org/download/ijs/download/ijs-0.35.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
"
