summaryrefslogtreecommitdiffstats
path: root/extra/brltty/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-21 18:37:00 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-21 18:37:00 +0200
commit399204c03b1f0c4239479860079471ba58468ffc (patch)
tree5c643be56dcdafdea048dcae8db84aedea50ca02 /extra/brltty/Pkgfile
parent640a51dca44d8d9a03cff52d762e530b1d188bb2 (diff)
downloadnutyx-extra-399204c03b1f0c4239479860079471ba58468ffc.tar.gz
nutyx-extra-399204c03b1f0c4239479860079471ba58468ffc.tar.bz2
nutyx-extra-399204c03b1f0c4239479860079471ba58468ffc.tar.xz
nutyx-extra-399204c03b1f0c4239479860079471ba58468ffc.zip
brltty, ajustement du service, du pkgfile et du footprint
Diffstat (limited to 'extra/brltty/Pkgfile')
-rw-r--r--extra/brltty/Pkgfile15
1 files changed, 12 insertions, 3 deletions
diff --git a/extra/brltty/Pkgfile b/extra/brltty/Pkgfile
index 0cf92a63f..72827fb4a 100644
--- a/extra/brltty/Pkgfile
+++ b/extra/brltty/Pkgfile
@@ -22,11 +22,20 @@ build() {
--disable-java-bindings \
--disable-caml-bindings
make
- make DESTDIR=$PKG install
-
-# install -D -m 755 $SRC/brltty $PKG/etc/rc.d/init.d/brltty
+ make INSTALL_ROOT=$PKG install
+ mkdir -p $PKG/etc/rc.d/init.d
+ 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
+ mkdir -p $PKG/etc/rc.d/rc{0,1,2,3,4,5,6}.d
+ for i in 2 3 4 5;
+ do
+ ln -s ../init/$name $PKG/etc/rc.d/rc$i.d/S10$name
+ done
+ for i in 0 1 6;
+ do
+ ln -s ../init/$name $PKG/etc/rc.d/rc$i.d/K99$name
+ done
}