smlinux/base/ijs/ijs.SMBuild

37 lines
806 B
Text

# Maintainer: PktSurf <smlinux@pktsurf.in>
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"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
}
build() {
./configure \
--prefix="" \
--mandir=/share/man \
--enable-shared \
--disable-static \
$builddist
make
make install DESTDIR=$pkg
cp README $pkgdocs/
mkfinalpkg
}
sha512sums="
385d77cbd647cb4dfdc1dc5247e4d2a8689d2311e2f9c4b7bd8f467679c760a5083400e164f4715c53e75be411317f8780086b5d958c58d96c64ed540c22bf82 ijs-0.35.tar.lz
"