diff options
author | Drew DeVault <sir@cmpwn.com> | 2020-01-24 20:36:17 -0500 |
---|---|---|
committer | Milan P. Stanić <mps@arvanta.net> | 2020-01-25 02:42:57 +0100 |
commit | 172d206e1d92bd80f2658249cf5bf72f261478a0 (patch) | |
tree | aa62455104416d0b7d51b63bd3f8538246c371f5 /testing | |
parent | 974152af90c6dc848f945d0d69ab48f6cf9a9fcf (diff) | |
download | aports-172d206e1d92bd80f2658249cf5bf72f261478a0.zip |
testing/brltty: new aport
Diffstat (limited to 'testing')
-rw-r--r-- | testing/brltty/APKBUILD | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/testing/brltty/APKBUILD b/testing/brltty/APKBUILD new file mode 100644 index 00000000000..f3434aad9c2 --- /dev/null +++ b/testing/brltty/APKBUILD @@ -0,0 +1,58 @@ +# 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 + " +install="$pkgname.pre-install $pkgname.post-install" +subpackages="$pkgname-dev $pkgname-doc" +source=" + http://brltty.app/archive/brltty-$pkgver.tar.xz + brltty.initd + brltty.confd + " +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 + install -m755 -D "$srcdir"/$pkgname.initd \ + "$pkgdir"/etc/init.d/$pkgname + install -m644 -D "$srcdir"/$pkgname.confd \ + "$pkgdir"/etc/conf.d/$pkgname +} + +sha512sums="07344fa902ad169967ca39d19b09dfea24e698011031dd63dce3eb997a4cb86622ee9427b216976b3ef60e5cbabb710a621621447c6bfa2313748fc1a1cf4b06 brltty-6.0.tar.xz +512331fd6b4c5621c14b8bf07a94b2318dc33fea245de1e66d6385e1dc4cbfde7cb0d53507b46c85a11defe65a936cca40ace80df76130c7af2ef5999899892c brltty.initd +f11f0d192cd7823307c2ce4ddc7b3fff5190f72d3f65a5524b487021a95a222aca1fd36ab1eb58ed533e7acd555bfb70f0c8a13db20338ea31527f3151fd2bd7 brltty.confd" |