opt/avahi/Pkgfile
2007-05-10 09:41:32 -05:00

35 lines
945 B
Plaintext

# Description: A system that facilitates service discovery on local networks
# URL: http://avahi.org/
# Maintainer: Matt Housh, jaeger at crux dot nu
# Depends on: libdaemon, dbus, dbus-python, pygtk, libglade
name=avahi
version=0.6.19
release=1
source=(http://avahi.org/download/$name-$version.tar.gz \
rc.$name $name-dbus-major-version.patch)
build() {
cd $name-$version
#patch avahi-daemon/dbus-protocol.c -i $SRC/$name-dbus-major-version.patch
./configure --prefix=/usr \
--localstatedir=/var \
--mandir=/usr/man \
--disable-qt3 \
--disable-qt4 \
--disable-doxygen-doc \
--disable-doxygen-dot \
--with-avahi-user=avahi \
--with-avahi-group=avahi \
--with-distro=none \
--disable-mono \
--disable-monodoc \
--enable-compat-howl \
--enable-compat-libdns_sd \
--with-dbus-sys=/usr/etc/dbus-1/system.d
make
make DESTDIR=$PKG install
install -D -o root -g root -m 0755 $SRC/rc.$name \
$PKG/etc/rc.d/$name
}