summaryrefslogtreecommitdiffstats
path: root/brltty/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'brltty/Pkgfile')
-rw-r--r--brltty/Pkgfile39
1 files changed, 39 insertions, 0 deletions
diff --git a/brltty/Pkgfile b/brltty/Pkgfile
new file mode 100644
index 000000000..c11c7b841
--- /dev/null
+++ b/brltty/Pkgfile
@@ -0,0 +1,39 @@
+# Description: Terminal Braille
+# URL: http://mielke.cc/brltty
+# Maintainer: NuTyX core team
+# Packager: lesibel at free dot fr
+# Depends on: xorg-libxaw, xorg-libxtst
+# Run on: xorg-libxaw,xorg-libxtst
+
+name=brltty
+version=4.2
+release=1
+
+source=( http://mielke.cc/$name/releases/$name-$version.tar.gz
+ brltty brltty.conf
+ brltty-4.2-S_ISCHR.patch )
+
+build() {
+ unset MAKEFLAGS
+ 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 \
+ PYTHON=/usr/bin/python2
+
+ patch -Np1 -i ../brltty-4.2-S_ISCHR.patch
+ make
+ make INSTALL_ROOT=$PKG install
+ mkdir -p $PKG/etc/rc.d/rcsysinit.d
+ install -D -m 755 $SRC/brltty $PKG/etc/rc.d/rcsysinit.d/S25brltty
+ install -D -m 644 $SRC/brltty.conf $PKG/etc/conf.d/brltty.conf
+ install -D -m 644 Documents/brltty.conf $PKG/etc/brltty.conf
+
+}
+
+