24 lines
593 B
Plaintext
24 lines
593 B
Plaintext
# Description: legacy support library for PPD files
|
|
# URL: https://github.com/OpenPrinting/libppd
|
|
# Maintainer: Juergen Daubert, jue at crux dot nu
|
|
# Depends on: libcupsfilters
|
|
# Optional: mupdf poppler
|
|
|
|
name=libppd
|
|
version=2.0.0
|
|
release=1
|
|
source=(https://github.com/OpenPrinting/libppd/releases/download/$version/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
prt-get isinst mupdf || PKGMK_LIBPPD+=' --disable-mutool'
|
|
prt-get isinst poppler || PKGMK_LIBPPD+=' --disable-pdftops'
|
|
|
|
./configure $PKGMK_LIBPPD --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/doc
|
|
}
|