summaryrefslogtreecommitdiff
path: root/hal/Pkgfile
blob: 0d98975da1297aa2d66442fb27b3ad8f6aefb17a (plain)
    1 # Description: Hardware Abstraction Layer
    2 # URL: http://www.freedesktop.org/wiki/Software/hal
    3 # Packager: Matt Housh, jaeger at crux dot nu
    4 # Maintainer: Lucas Hazel, lucas at die dot net dot au
    5 # Depends on: dbus-glib, hal-info
    6 
    7 name=hal
    8 version=0.5.14
    9 release=2
   10 source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz \
   11 	hal.conf
   12 	rc.hald)
   13 
   14 build() {
   15     cd $name-$version
   16     sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
   17 	-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
   18     ./configure --prefix=/usr \
   19 	--mandir=/usr/man \
   20 	--libexecdir=/usr/lib/$name \
   21 	--localstatedir=/var \
   22 	--with-hal-user=haldaemon \
   23 	--with-hal-group=haldaemon \
   24 	--with-dbus-sys=/usr/etc/dbus-1/system.d \
   25 	--with-udev-prefix=/lib \
   26 	--with-hwdata=/usr/share \
   27 	--disable-policy-kit \
   28 	--disable-console-kit
   29     sed -i -e '/device-manager/d' tools/Makefile
   30     make
   31     make DESTDIR=$PKG install
   32     install -D -o root -g root -m 0755 $SRC/rc.hald \
   33 	$PKG/etc/rc.d/hald
   34     rm -rf $PKG/usr/share/{doc,locale}
   35     rm -rf $PKG/usr/share/gtk-doc
   36     cp $SRC/hal.conf $PKG/usr/etc/dbus-1/system.d/
   37     mkdir -p $PKG/var/lib/hal
   38     chown haldaemon:haldaemon $PKG/var/lib/hal
   39 }

Generated by cgit