void-packages/srcpkgs/ippusbxd/template

26 lines
794 B
Bash

# Template file for 'ippusbxd'
pkgname=ippusbxd
version=1.34
revision=2
build_wrksrc=src
build_style=cmake
make_cmd=make
hostmakedepends="pkg-config"
makedepends="libusb-devel avahi-libs-devel libxml2-devel cups-devel"
short_desc="Internet Printing Protocol (IPP) over USB driver"
maintainer="Cameron Nemo <cam@nohom.org>"
license="Apache-2.0"
homepage="https://github.com/OpenPrinting/ippusbxd"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=996a572c8f6d1426a58ad3b95c21fea7f5b64d5db34a825c543d7869b3c77891
conf_files="/etc/apparmor.d/usr.sbin.ippusbxd"
export CMAKE_GENERATOR="Unix Makefiles"
do_install() {
vbin build/ippusbxd
vman ../doc/ippusbxd.8
vinstall apparmor/usr.sbin.ippusbxd 0644 etc/apparmor.d
vinstall ${FILESDIR}/55-ippusbxd.rules 0644 usr/lib/udev/rules.d
}