void-packages/srcpkgs/brltty/template

31 lines
880 B
Bash

# Template file for 'brltty'
pkgname=brltty
version=5.2
revision=1
build_style=gnu-configure
makedepends="ncurses-devel alsa-lib-devel gpm-devel at-spi2-core-devel"
configure_args="--enable-gpm --with-screen-driver=lx --with-tables-directory=/usr/share/brltty"
short_desc="Braille display driver for Linux/Unix"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, LGPL-2.1"
homepage="http://mielke.cc/brltty/"
distfiles="http://mielke.cc/brltty/archive/brltty-${version}.tar.xz"
checksum=f1293940317a675d0eaeaf3f363bbfe4bfaa5225c2116123a61ce2d3c71943f7
do_install() {
make INSTALL_ROOT=${DESTDIR} install
vsv $pkgname
}
brltty-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}-${version}_${revision}"
pkg_install() {
vmove usr/bin/brltty-config
vmove usr/include
vmove usr/lib/*.a
vmove usr/lib/*.so
vmove usr/share/man/man3
}
}