From ae14ea2c1c06e3713251436058c0a9ec346c18ea Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 5 Aug 2015 12:44:05 +0200 Subject: [PATCH] New package: brltty-5.2. --- common/shlibs | 1 + srcpkgs/brltty-devel | 1 + srcpkgs/brltty/files/brltty/run | 3 +++ srcpkgs/brltty/template | 30 ++++++++++++++++++++++++++++++ 4 files changed, 35 insertions(+) create mode 120000 srcpkgs/brltty-devel create mode 100644 srcpkgs/brltty/files/brltty/run create mode 100644 srcpkgs/brltty/template diff --git a/common/shlibs b/common/shlibs index 6c8e7b93a9d..646da538bec 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2107,3 +2107,4 @@ libfacter.so.3.0.2 facter-3.0.2_1 libOIS-1.3.0.so ois-1.3_1 libSILLY.so.1 silly-0.1.0_1 libkeybinder-3.0.so.0 libkeybinder3-0.3.0_1 +libbrlapi.so.0.6 brltty-5.2_1 diff --git a/srcpkgs/brltty-devel b/srcpkgs/brltty-devel new file mode 120000 index 00000000000..a32c7c356db --- /dev/null +++ b/srcpkgs/brltty-devel @@ -0,0 +1 @@ +brltty \ No newline at end of file diff --git a/srcpkgs/brltty/files/brltty/run b/srcpkgs/brltty/files/brltty/run new file mode 100644 index 00000000000..ef50183e589 --- /dev/null +++ b/srcpkgs/brltty/files/brltty/run @@ -0,0 +1,3 @@ +#!/bin/sh +mkdir -p /var/run/brltty || exit 1 +exec brltty -n diff --git a/srcpkgs/brltty/template b/srcpkgs/brltty/template new file mode 100644 index 00000000000..f697cb40ec0 --- /dev/null +++ b/srcpkgs/brltty/template @@ -0,0 +1,30 @@ +# 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 " +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 + } +}