diff options
Diffstat (limited to 'extra/avahi/Pkgfile')
-rw-r--r-- | extra/avahi/Pkgfile | 48 |
1 files changed, 27 insertions, 21 deletions
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} } |