void-packages/srcpkgs/libppd/template

30 lines
944 B
Bash

# Template file for 'libppd'
pkgname=libppd
version=2.0.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config ghostscript poppler mupdf-tools"
makedepends="cups-devel libcupsfilters-devel"
short_desc="OpenPrinting legacy support library for PPD files"
maintainer="Andrew J. Hesford <ajh@sideband.org>"
license="Apache-2.0 WITH custom:GPL2-LGPL2-Exception"
homepage="https://github.com/OpenPrinting/libppd"
changelog="https://github.com/OpenPrinting/libppd/blob/master/CHANGES.md"
distfiles="https://github.com/OpenPrinting/libppd/releases/download/${version}/libppd-${version}.tar.xz"
checksum=882d3c659a336e91559de8f3c76fc26197fe6e5539d9b484a596e29a5a4e0bc8
post_install() {
vlicense COPYING
}
libppd-devel_package() {
depends="${sourcepkg}>=${version}_${revision} cups-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}