summaryrefslogtreecommitdiffstats
path: root/extra/avahi/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-02 12:13:43 +0100
committersibel <lesibel@free.fr>2011-01-02 12:13:43 +0100
commitd161858593f44b78a076d5e48e186a4025af6b00 (patch)
tree03b98769a942067a8cc673c03fcc7c36e7b7f267 /extra/avahi/Pkgfile
parent53b9f0db7910d9af4bdbd48d3287e0435e1323bc (diff)
downloadnutyx-pakxe-d161858593f44b78a076d5e48e186a4025af6b00.tar.gz
nutyx-pakxe-d161858593f44b78a076d5e48e186a4025af6b00.tar.bz2
nutyx-pakxe-d161858593f44b78a076d5e48e186a4025af6b00.tar.xz
nutyx-pakxe-d161858593f44b78a076d5e48e186a4025af6b00.zip
, maj port
Diffstat (limited to 'extra/avahi/Pkgfile')
-rw-r--r--extra/avahi/Pkgfile48
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}
}