aboutsummaryrefslogtreecommitdiffstats
path: root/testing/brltty/APKBUILD
blob: 3c1a6d65d65f5f5b386ceec47cdd078f6019cc02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname="brltty"
pkgver="6.0"
pkgrel=0
pkgdesc="Refreshable braille display driver daemon"
url="http://brltty.app"
arch="all"
license="LGPL-2.1"
makedepends="
	autoconf
	gpm-dev
	icu-dev
	liblouis-dev
	linux-headers
	tcl
	"
subpackages="$pkgname-static $pkgname-dev $pkgname-doc"
source="http://brltty.app/archive/brltty-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"
options="!check" # no upstream test suite

prepare() {
	cp /usr/share/abuild/config.guess acdir/
	cp /usr/share/abuild/config.sub acdir/
	./autogen
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-tables-directory=/usr/share/brltty \
		--enable-gpm
	make -j1
}

package() {
	make INSTALL_ROOT="$pkgdir" install
	install -m644 -D Documents/$pkgname.conf \
		"$pkgdir"/etc/$pkgname.conf
}

sha512sums="07344fa902ad169967ca39d19b09dfea24e698011031dd63dce3eb997a4cb86622ee9427b216976b3ef60e5cbabb710a621621447c6bfa2313748fc1a1cf4b06  brltty-6.0.tar.xz"