summaryrefslogtreecommitdiffstats
path: root/extra/brltty/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/brltty/Pkgfile')
-rw-r--r--extra/brltty/Pkgfile32
1 files changed, 32 insertions, 0 deletions
diff --git a/extra/brltty/Pkgfile b/extra/brltty/Pkgfile
new file mode 100644
index 000000000..0cf92a63f
--- /dev/null
+++ b/extra/brltty/Pkgfile
@@ -0,0 +1,32 @@
+# Decription: Terminal Braille
+# URL: http://mielke.cc/brltty
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: xorg-libxaw, at-spi, gpm, icu, python, tcl, atk, xorg-libxtst
+
+name=brltty
+version=4.1
+release=1
+
+source=( http://mielke.cc/$name/releases/$name-$version.tar.gz
+ brltty brltty.conf )
+
+build() {
+ cd $name-$version
+ CFLAGS+="${CFLAGS} -D_GNU_SOURCE" \
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --enable-gpm \
+ --disable-java-bindings \
+ --disable-caml-bindings
+ make
+ make DESTDIR=$PKG install
+
+# install -D -m 755 $SRC/brltty $PKG/etc/rc.d/init.d/brltty
+ install -D -m 644 $SRC/brltty.conf $PKG/etc/conf.d/brltty.conf
+ install -D -m 644 Documents/brltty.conf $PKG/etc/brltty.conf
+
+}
+