void-packages/srcpkgs/ippusbxd/template

23 lines
744 B
Bash

# Template file for 'ippusbxd'
pkgname=ippusbxd
version=1.34
revision=1
build_wrksrc=src
build_style=cmake
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 <cnemo@tutanota.com>"
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"
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
}