summaryrefslogtreecommitdiffstats
path: root/extra/nss-mdns/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nss-mdns/Pkgfile')
-rw-r--r--extra/nss-mdns/Pkgfile24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/nss-mdns/Pkgfile b/extra/nss-mdns/Pkgfile
new file mode 100644
index 000000000..9f154c83d
--- /dev/null
+++ b/extra/nss-mdns/Pkgfile
@@ -0,0 +1,24 @@
+# Description: Plugin pour glibc permettant la resolution de noms via mDNS
+# URL: http://0pointer.de/lennart/projects/nss-mdns/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+# Run on:
+
+name=nss-mdns
+version=0.10
+release=1
+source=(http://0pointer.de/lennart/projects/$name/$name-$version.tar.gz\
+ mdns.allow)
+
+build() {
+ cd $name-$version
+ ./configure --prefix=/ \
+ --disable-lynx \
+ --enable-avahi
+ make
+ mkdir -p $PKG/etc
+ install -m644 ../mdns.allow $PKG/etc/mdns.allow
+ make DESTDIR=$PKG install
+}
+