From d161858593f44b78a076d5e48e186a4025af6b00 Mon Sep 17 00:00:00 2001 From: sibel Date: Sun, 2 Jan 2011 12:13:43 +0100 Subject: , maj port --- extra/avahi/Pkgfile | 48 +++++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 21 deletions(-) (limited to 'extra/avahi/Pkgfile') diff --git a/extra/avahi/Pkgfile b/extra/avahi/Pkgfile index 7cb90e957..23a725cad 100644 --- a/extra/avahi/Pkgfile +++ b/extra/avahi/Pkgfile @@ -6,38 +6,44 @@ name=avahi -version=0.6.25 -release=3 +version=0.6.28 +release=4 source=(http://www.avahi.org/download/avahi-$version.tar.gz\ network-wired.png) build() { cd $name-$version - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var/lib \ - --disable-qt3 \ - --disable-qt4 \ - --disable-monodoc \ - --disable-doxygen-doc \ - --disable-xmltoman \ - --enable-compat-libdns_sd \ - --enable-compat-howl \ - --with-distro=none \ - --disable-gdbm \ - --disable-mono \ - --with-avahi-priv-access-group=network \ - --enable-autoipd \ - --with-autoipd-user=avahi \ - --with-autoipd-group=avahi + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --disable-qt3 \ + --disable-qt4 \ + --disable-gtk3 \ + --disable-monodoc \ + --disable-doxygen-doc \ + --disable-xmltoman \ + --enable-compat-libdns_sd \ + --enable-compat-howl \ + --with-distro=none \ + --disable-gdbm \ + --disable-mono \ + --with-avahi-priv-access-group=network \ + --enable-autoipd \ + --with-autoipd-user=avahi \ + --with-autoipd-group=avahi \ + --with-systemdsystemunitdir=/lib/systemd/system + make make DESTDIR=$PKG install + sed -i -e 's/netdev/network/g' \ - $PKG/etc/dbus-1/system.d/avahi-dbus.conf + $PKG/etc/dbus-1/system.d/avahi-dbus.conf mkdir -v -p $PKG/usr/share/pixmaps install -m 644 ../network-wired.png \ - $PKG/usr/share/pixmaps/network-wired.png + $PKG/usr/share/pixmaps/network-wired.png rm -r $PKG/{etc/avahi,var,usr/share/man/man8,usr/sbin} +# sed -i '1c #!/usr/bin/python2' $PKG/usr/bin/avahi-{bookmarks,discover} } -- cgit v1.2.3-70-g09d2