summaryrefslogtreecommitdiff
path: root/extra/source
diff options
context:
space:
mode:
authorPatrick J Volkerding <volkerdi@slackware.com>2020-12-28 20:13:50 +0000
committerEric Hameleers <alien@slackware.com>2020-12-28 23:59:56 +0100
commiteae3926cf3efec6fbc3ce2b7df32c2ac37f90c77 (patch)
treea45091162ea1a5d7a058dee5abb93b26047670f7 /extra/source
parent45d4b225c605681c5d3570a2dc96140db758e9fb (diff)
downloadcurrent-eae3926cf3efec6fbc3ce2b7df32c2ac37f90c77.tar.gz
Mon Dec 28 20:13:50 UTC 202020201228201350
a/eudev-3.2.9-x86_64-3.txz: Rebuilt. Blacklist the snd-pcsp module. Thanks to Paulo2. Fix typo in watchdog.conf: ebc_c384_wdt -> ebc-c384_wdt. Thanks to Robby Workman. ap/terminus-font-4.49-noarch-1.txz: Upgraded. extra/brltty/brltty-6.2-x86_64-1.txz: Upgraded.
Diffstat (limited to 'extra/source')
-rwxr-xr-xextra/source/brltty/brltty.SlackBuild12
1 files changed, 9 insertions, 3 deletions
diff --git a/extra/source/brltty/brltty.SlackBuild b/extra/source/brltty/brltty.SlackBuild
index af421805..78a8252a 100755
--- a/extra/source/brltty/brltty.SlackBuild
+++ b/extra/source/brltty/brltty.SlackBuild
@@ -32,7 +32,7 @@ PKG=/tmp/package-brltty
PKGNAM=brltty
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-3}
+BUILD=${BUILD:-1}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -94,9 +94,15 @@ make $NUMJOBS || exit 1
make install INSTALL_ROOT=$PKG || exit 1
chmod 755 $PKG/bin/* $PKG/lib${LIBDIRSUFFIX}/brltty/*
+# Add polkit configs:
+( cd Authorization/Polkit
+ make install INSTALL_ROOT=$PKG
+)
+
# Add udev rules:
-mkdir -p $PKG/lib/udev/rules.d
-cp Autostart/Udev/rules $PKG/lib/udev/rules.d/40-usb-brltty.rules || exit 1
+( cd Autostart/Udev
+ make install INSTALL_ROOT=$PKG UDEV_LIBRARY_DIRECTORY=$PKG/lib/udev
+)
( cd $PKG
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null