summaryrefslogtreecommitdiffstats
path: root/abs/core/nss-mdns/PKGBUILD
diff options
context:
space:
mode:
authorCecil <knoppmyth@gmail.com>2012-04-26 21:37:21 (GMT)
committerCecil <knoppmyth@gmail.com>2012-04-26 21:37:21 (GMT)
commitc7112b961322bf9c20282e3bbfb95b2ccf3fa97f (patch)
treeda4450d043b175a7aebb3a93c858b294995b765e /abs/core/nss-mdns/PKGBUILD
parentf2394fa3f2984a3a4e74a19b2596f279ec3517ba (diff)
parentc8fc2fc2156fdeb0e9a54e7be48c8f02fdff848e (diff)
downloadlinhes_pkgbuild-c7112b961322bf9c20282e3bbfb95b2ccf3fa97f.zip
linhes_pkgbuild-c7112b961322bf9c20282e3bbfb95b2ccf3fa97f.tar.gz
linhes_pkgbuild-c7112b961322bf9c20282e3bbfb95b2ccf3fa97f.tar.bz2
Merge branch 'testing' of git@linhes.org:linhes_pkgbuild into testing
Diffstat (limited to 'abs/core/nss-mdns/PKGBUILD')
-rw-r--r--abs/core/nss-mdns/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/core/nss-mdns/PKGBUILD b/abs/core/nss-mdns/PKGBUILD
new file mode 100644
index 0000000..643dac8
--- /dev/null
+++ b/abs/core/nss-mdns/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 124100 2011-05-16 15:17:50Z andrea $
+# Maintainer:
+# Contributor: Travis Willard <travis@archlinux.org>
+
+pkgname=nss-mdns
+pkgver=0.10
+pkgrel=3
+pkgdesc="glibc plugin providing host name resolution via mDNS"
+arch=('i686' 'x86_64')
+url="http://0pointer.de/lennart/projects/nss-mdns/"
+license=('LGPL')
+depends=('glibc')
+makedepends=('pkgconfig')
+backup=('etc/mdns.allow')
+install=nss-mdns.install
+source=("http://0pointer.de/lennart/projects/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ 'mdns.allow')
+md5sums=('03938f17646efbb50aa70ba5f99f51d7'
+ '904abb492fb1f56722826c0c3a997bf0')
+
+build() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ ./configure --prefix=/ \
+ --disable-lynx \
+ --enable-avahi
+ make
+}
+
+package() {
+ cd "${srcdir}"/${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
+ install -Dm644 "${srcdir}"/mdns.allow "${pkgdir}"/etc/mdns.allow
+}
+