2006-09-03 18:44:39 +00:00
|
|
|
# Description: Hardware Abstraction Layer
|
2007-12-07 19:11:54 -06:00
|
|
|
# URL: http://www.freedesktop.org/wiki/Software/hal
|
2008-02-03 16:21:04 -05:00
|
|
|
# Packager: Matt Housh, jaeger at crux dot nu
|
2008-06-19 22:45:42 +10:00
|
|
|
# Maintainer: Lucas Hazel, lucas at die dot net dot au
|
2008-02-06 10:53:37 -05:00
|
|
|
# Depends on: dbus-glib
|
2006-09-03 18:44:39 +00:00
|
|
|
|
|
|
|
name=hal
|
2008-05-16 03:53:56 -04:00
|
|
|
version=0.5.11
|
2008-05-20 00:51:07 -04:00
|
|
|
release=5
|
2007-12-07 19:11:54 -06:00
|
|
|
source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz \
|
2008-05-18 01:46:10 -04:00
|
|
|
hal.conf
|
2007-05-02 13:14:04 -05:00
|
|
|
rc.hald)
|
2006-09-03 18:44:39 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
|
|
|
sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
|
|
|
|
-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
|
|
|
|
./configure --prefix=/usr \
|
2007-05-02 13:14:04 -05:00
|
|
|
--mandir=/usr/man \
|
2006-09-03 18:44:39 +00:00
|
|
|
--libexecdir=/usr/lib/$name \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--with-hal-user=haldaemon \
|
|
|
|
--with-hal-group=haldaemon \
|
2006-09-11 21:28:04 +00:00
|
|
|
--with-dbus-sys=/usr/etc/dbus-1/system.d \
|
2008-05-16 03:53:56 -04:00
|
|
|
--with-hwdata=/usr/share \
|
|
|
|
--disable-policy-kit \
|
|
|
|
--disable-console-kit
|
2006-09-03 18:44:39 +00:00
|
|
|
sed -i -e '/device-manager/d' tools/Makefile
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
install -D -o root -g root -m 0755 $SRC/rc.hald \
|
|
|
|
$PKG/etc/rc.d/hald
|
|
|
|
rm -rf $PKG/usr/share/{doc,locale}
|
2007-05-02 13:14:04 -05:00
|
|
|
rm -rf $PKG/usr/share/gtk-doc
|
2007-12-07 19:11:54 -06:00
|
|
|
mv $PKG/usr/etc/udev $PKG/etc/
|
2008-05-18 01:46:10 -04:00
|
|
|
cp $SRC/hal.conf $PKG/usr/etc/dbus-1/system.d/
|
2008-05-16 03:53:56 -04:00
|
|
|
mkdir -p $PKG/var/lib/hal
|
|
|
|
chown haldaemon:haldaemon $PKG/var/lib/hal
|
2006-09-03 18:44:39 +00:00
|
|
|
}
|