diff options
Diffstat (limited to 'hal/Pkgfile')
-rwxr-xr-x | hal/Pkgfile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/hal/Pkgfile b/hal/Pkgfile new file mode 100755 index 000000000..0e9320007 --- /dev/null +++ b/hal/Pkgfile @@ -0,0 +1,51 @@ +# Description: Couche d'abstraction matériel +# URL: http://freedesktop.org/wiki/Software_2fhal +# Maintainer: NuTyX coreteam +# Packager: thierryn1 at hispeed dot ch +# Depends on: dbus-glib, usbutils, pciutils, eject, hal-info, gperf, consolekit, policykit +# Run on: dbus-glib,usbutils,pciutils,eject,hal-info,gperf,consolekit,policykit + +name=hal +version=0.5.14 +release=2 +source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz\ + http://hal.freedesktop.org/releases/hal-info-20091130.tar.gz\ + http://nutyx.meticul.eu/files/patchs/$name/$name-$version-configure-1.patch \ + haldaemon halusers.conf 10-keymap.fdi \ + use_udevadm_not_udevinfo.patch.gz ) + +build() { + source /etc/blfs-bootscripts +# wget http://www.linuxfromscratch.org/blfs/downloads/svn/$scripts-$scriptsversion.tar.bz2 + wget http://nutyx.meticul.eu/files/patchs/aaabasicfs/blfs-bootscripts-$scriptsversion.tar.bz2 + + tar xvf $scripts-$scriptsversion.tar.bz2 + cd $name-$version + patch -Np1 -i ../$name-$version-configure-1.patch + libtoolize --force + aclocal + autoconf + automake + ./configure --prefix=/usr \ + --mandir=/usr/share/man \ + --libexecdir=/usr/lib/$name \ + --sysconfdir=/etc --with-udev-prefix=/etc \ + --localstatedir=/var \ + --with-pci-ids=/usr/share/pci.ids.gz \ + --disable-gtk-doc + make + make DESTDIR=$PKG install + + mkdir -p $PKG/etc/hal/fdi/policy + mkdir -p $PKG/etc/dbus-1/system.d + 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 + ln -sv /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi \ + $PKG/etc/hal/fdi/policy/ +} + + |