void-packages/srcpkgs/ippusbxd/template
2018-11-19 23:44:41 -02:00

22 lines
725 B
Bash

# Template file for 'ippusbxd'
pkgname=ippusbxd
version=1.33
revision=1
build_wrksrc=src
build_style=cmake
hostmakedepends="pkg-config"
makedepends="libusb-devel avahi-libs-devel"
short_desc="Internet Printing Protocol (IPP) over USB driver"
maintainer="Cameron Nemo <camerontnorman@gmail.com>"
license="Apache-2.0"
homepage="https://github.com/OpenPrinting/ippusbxd"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=0525a6a249e863fa732b8eb996c5295ade6f87c7392e4ff5e4b185ce95734d50
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
}