void-packages/srcpkgs/libgusb/template
2018-03-20 17:41:51 +01:00

26 lines
848 B
Bash

# Template file for 'libgusb'
pkgname=libgusb
version=0.3.0
revision=1
configure_args="-Ddocs=false"
build_style=meson
hostmakedepends="pkg-config gobject-introspection vala"
makedepends="libglib-devel libusb-devel libgudev-devel vala-devel usbutils"
short_desc="GLib wrapper around libusb1"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://gitorious.org/gusb/"
license="LGPL-2.1-or-later"
distfiles="http://people.freedesktop.org/~hughsient/releases/$pkgname-${version}.tar.xz"
checksum=d8e7950f99b6ae4c3e9b8c65f3692b9635289e6cff8de40c4af41b2e9b348edc
nocross="hard-depends on gobject-introspection"
libgusb-devel_package() {
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}