summaryrefslogtreecommitdiffstats
path: root/extra/hal/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/hal/Pkgfile')
-rwxr-xr-xextra/hal/Pkgfile11
1 files changed, 5 insertions, 6 deletions
diff --git a/extra/hal/Pkgfile b/extra/hal/Pkgfile
index 677eb6468..a9ef0294d 100755
--- a/extra/hal/Pkgfile
+++ b/extra/hal/Pkgfile
@@ -6,10 +6,10 @@
name=hal
version=0.5.13
-release=1
+release=2
source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz\
http://hal.freedesktop.org/releases/hal-info-20080508.tar.gz\
- haldaemon halusers.conf no-fixed-drives.fdi 10-keymap.fdi \
+ haldaemon halusers.conf 10-keymap.fdi \
use_udevadm_not_udevinfo.patch.gz)
build() {
@@ -17,7 +17,6 @@ build() {
wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2
tar xvf $scripts-$scriptsversion.tar.bz2
cd $name-$version
-# zcat ../use_udevadm_not_udevinfo.patch.gz | patch -p1 --verbose
sed -i -e 's%, 1.8.6%&, 1.8.7%' \
-e 's% or 1.8.6%/1.8.6 or 1.8.7%' \
@@ -38,9 +37,9 @@ build() {
mkdir -p $PKG/etc/hal/fdi/policy
mkdir -p $PKG/etc/dbus-1/system.d
- mv ../halusers.conf $PKG/etc/dbus-1/system.d/
- mv ../{no-fixed-drives.fdi,10-keymap.fdi} $PKG/etc/hal/fdi/policy/
- cd ../$scripts-$scriptsversion
+ install -m755 ../halusers.conf $PKG/etc/dbus-1/system.d/halusers.conf
+ install -m755 ../10-keymap.fdi $PKG/etc/hal/fdi/policy/
+ cd ../$scripts-$scriptsversion
make DESTDIR=$PKG install-haldaemon
install -m755 ../haldaemon $PKG/etc/rc.d/init.d/
rm -rf $PKG/usr/share/gtk-doc